File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments