diff --git a/.github/actions/cache-playwright/action.yml b/.github/actions/cache-playwright/action.yml index 6ceb76b8d..ac2f4ac47 100644 --- a/.github/actions/cache-playwright/action.yml +++ b/.github/actions/cache-playwright/action.yml @@ -13,7 +13,7 @@ runs: shell: bash working-directory: ${{ inputs.WORKSPACE_ROOT }} id: playwright-version - run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['playwright'].version)")" >> $GITHUB_ENV + run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['playwright'].version)" || latest)" >> $GITHUB_ENV - name: Cache playwright binaries uses: actions/cache@v3