From dbb3aaf6fa1c8f59cdeadd4b4e79fa1521bb4a58 Mon Sep 17 00:00:00 2001 From: Xon <635541+Xon@users.noreply.github.com> Date: Sat, 17 Aug 2024 21:21:42 +0800 Subject: [PATCH] Adjust caching checks --- .github/workflows/browsers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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