Skip to content

Commit

Permalink
Add npm caching
Browse files Browse the repository at this point in the history
  • Loading branch information
jnv authored Jan 13, 2020
1 parent cc28b6e commit 846138a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 12

- name: Cache npm modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Build slides
run: |
Expand Down

0 comments on commit 846138a

Please sign in to comment.