Skip to content

Commit

Permalink
Update actions/cache to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuk committed Jun 23, 2022
1 parent 6f2474d commit da96cb5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,15 @@ jobs:
cache: 'npm'

- name: Cache Node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
uses: actions/cache@v3
id: npm-cache
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
${{ runner.os }}-node-
- name: "Install dependencies"
- name: Install dependencies
run: |
npm install
sudo npx playwright install-deps
Expand Down

0 comments on commit da96cb5

Please sign in to comment.