Skip to content

Commit

Permalink
chore: cache dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Oct 1, 2021
1 parent b6396f9 commit a16cd6f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
- name: Install dependencies
run: npm ci

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

Expand Down

0 comments on commit a16cd6f

Please sign in to comment.