Skip to content

Commit

Permalink
Printing playwright version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Oct 21, 2023
1 parent dca02f4 commit 5a43585
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,16 @@ jobs:
- name: Get installed Playwright version
id: playwright-version
run: echo "version=$(npm ls @playwright/test | grep @playwright | sed 's/.*@//')" >> $GITHUB_OUTPUT
run: |
echo "version=$(npm ls @playwright/test | grep @playwright | sed 's/.*@//')"
echo "version=$(npm ls @playwright/test | grep @playwright | sed 's/.*@//')" >> $GITHUB_OUTPUT
- name: Cache playwright binaries
id: playwright-cache
uses: actions/cache@v3
with:
path: "~/.cache/ms-playwright"
key: playwright-binaries-${{ runner.os }}-${{ env.cache-version }}-playwright-${{ steps.playwright-version.outputs.version }}
key: playwright-binaries-${{ runner.os }}-${{ env.cache-version }}-${{ steps.playwright-version.outputs.version }}

- name: "Install NPM dependencies"
run: |
Expand Down

0 comments on commit 5a43585

Please sign in to comment.