1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-07 11:52:22 +04:00

Fix Playwright version retrieval in workflow to use devDependencies from package.json

This commit is contained in:
codecalm
2025-02-19 01:31:54 +01:00
parent 22e10d4dba
commit 417d0bc444
+2 -2
View File
@@ -41,10 +41,10 @@ jobs:
- 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
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package.json').devDependencies['@playwright/test'])")" >> $GITHUB_ENV
- name: Cache playwright binaries
uses: actions/cache@v3
uses: actions/cache@v4
id: playwright-cache
with:
path: |