Skip to content

Commit ab5adb8

Browse files
CHORE SB Base playwright browser caching on installed playwright version, not the latest catalogue version!
1 parent 081056c commit ab5adb8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/actions/run-e2e-tests/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
run: |
4646
echo "::group::Get current week number and playwright version"
4747
echo "week_num=$(date -u +'%Y-%V')" | tee -a $GITHUB_OUTPUT
48-
echo "playwright_version=$(npm info @playwright/test version)" | tee -a $GITHUB_OUTPUT
48+
echo "playwright_version=$(node -p "require('@playwright/test/package.json').version")" | tee -a $GITHUB_OUTPUT
4949
EXIT_STATUS=$?
5050
echo "::endgroup::"
5151
exit $EXIT_STATUS

.github/actions/run-snapshot-tests/action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ runs:
5050
run: |
5151
echo "::group::Get current week number and playwright version"
5252
echo "week_num=$(date -u +'%Y-%V')" | tee -a $GITHUB_OUTPUT
53-
echo "playwright_version=$(npm info @playwright/test version)" | tee -a $GITHUB_OUTPUT
53+
echo "playwright_version=$(node -p "require('@playwright/test/package.json').version")" | tee -a $GITHUB_OUTPUT
54+
EXIT_STATUS=$?
5455
echo "::endgroup::"
56+
exit $EXIT_STATUS
5557
5658
- name: "Get current date"
5759
shell: bash

0 commit comments

Comments
 (0)