Skip to content

Commit

Permalink
GA caching
Browse files Browse the repository at this point in the history
  • Loading branch information
umaar committed Mar 16, 2020
1 parent 984a45f commit 4391e56
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,15 @@ jobs:
with:
node-version: '13.10.1'

- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- run: npm install --ignore-scripts
- run: npm test

0 comments on commit 4391e56

Please sign in to comment.