diff --git a/.github/workflows/browsers.yml b/.github/workflows/browsers.yml index 9f0641aa..d7503692 100644 --- a/.github/workflows/browsers.yml +++ b/.github/workflows/browsers.yml @@ -31,7 +31,7 @@ jobs: - name: Get installed Playwright version id: playwright-version - run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').packages[''].devDependencies['@playwright/test'])")" >> $GITHUB_ENV + run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').packages['node_modules/@playwright/test'].version)")" >> $GITHUB_ENV - name: Cache playwright binaries uses: actions/cache@v3 id: playwright-cache