diff --git a/.github/workflows/django-tests.yml b/.github/workflows/django-tests.yml index 6c717697..be289fed 100644 --- a/.github/workflows/django-tests.yml +++ b/.github/workflows/django-tests.yml @@ -106,6 +106,16 @@ jobs: # deploy vue app twice tar xzf babex-vue.tar.gz -C lab/main/static/ tar xzf babex-vue.tar.gz -C parent/parent/static/ + - name: Cache playwright binaries + uses: actions/cache@v3 + id: playwright-cache + with: + path: | + ~/.cache/ms-playwright + key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }} + - name: Get installed Playwright version + id: playwright-version + run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_ENV - name: Integration tests run: | cd ${{ matrix.app }}