From f7d0491ba5cc6187aecf382cd176ecabea739e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Sun, 22 Oct 2023 23:28:12 +0200 Subject: [PATCH] Fixed playwright version detection --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 51999ee7..2980205d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -115,8 +115,8 @@ jobs: - name: Get installed Playwright version id: playwright-version run: | - echo "version=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" - echo "version=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_OUTPUT + echo "version=$(node -e "console.log(require('./package-lock.json').packages['node_modules/@playwright/test'].version)")" + echo "version=$(node -e "console.log(require('./package-lock.json').packages['node_modules/@playwright/test'].version)")" >> $GITHUB_OUTPUT - name: Cache playwright binaries id: playwright-cache