From 4a19557a4f4d5b499c5c5b18e8bba55c4cdd1ff4 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Wed, 25 Jun 2025 14:13:51 +0800 Subject: [PATCH] get playwright version from package-lock.json --- .github/actions/setup-playwright/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-playwright/action.yml b/.github/actions/setup-playwright/action.yml index 9d16fa24..a9a167f4 100644 --- a/.github/actions/setup-playwright/action.yml +++ b/.github/actions/setup-playwright/action.yml @@ -11,7 +11,7 @@ runs: - name: Extract Playwright version id: playwright-version shell: bash - run: echo "PLAYWRIGHT_VERSION=$(jq -r '.devDependencies.playwright' package.json)" >> $GITHUB_ENV + run: echo "PLAYWRIGHT_VERSION=$(jq -r '.packages."".devDependencies.playwright' package-lock.json)" >> $GITHUB_ENV working-directory: ${{ inputs.working-directory }} - name: Cache Playwright