Skip to content

Commit

Permalink
Retain npm cache between CI runs
Browse files Browse the repository at this point in the history
  • Loading branch information
billyjanitsch committed Oct 31, 2020
1 parent d52bad3 commit 0db9e5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@ jobs:
with:
node-version: 14
- run: npm install -g npm@7
- uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- run: npm ci
- run: npm test

0 comments on commit 0db9e5b

Please sign in to comment.