Cache npm cache in GitHub CI

This commit is contained in:
Franck Royer 2021-03-19 15:07:47 +11:00
parent 1f6a794db4
commit 26c1511ee8
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,12 @@ jobs:
with:
node-version: '14'
- name: Cache npm cache
uses: actions/cache@v2
with:
path: ~/.npm
key: node-v1-${{ hashFiles('**/package-lock.json') }}
- name: install using npm ci
uses: bahmutov/npm-install@v1