Skip to content

Commit

Permalink
Adjust caching checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Xon committed Aug 17, 2024
1 parent e72284f commit 4297f0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
path: ~/.npm
key: ${{ runner.OS }}-build
restore-keys: |
${{ runner.OS }}-build-
${{ runner.OS }}-
${{ runner.OS }}-build
${{ runner.OS }}
- name: Install dependencies
run: npm ci --no-audit

- name: Get installed Playwright version
id: playwright-version
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').packages.[''].devDependencies['@playwright/test'].version)")" >> $GITHUB_ENV
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').packages[''].devDependencies['@playwright/test'].version)")" >> $GITHUB_ENV
- name: Cache playwright binaries
uses: actions/cache@v3
id: playwright-cache
Expand Down

0 comments on commit 4297f0a

Please sign in to comment.