Skip to content

Commit

Permalink
chore(ci): trying to cache dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Oct 2, 2021
1 parent 2917363 commit 5f7b707
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ jobs:
npm i -g npm@latest
node -v && npm version && which npm && pwd && npx envinfo
- name: Cache dependencies
id: npm-cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ matrix.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ matrix.os }}-npm-
- name: Install dependencies
if: "env.CI_SKIP == 'false'"
run: |
Expand Down

0 comments on commit 5f7b707

Please sign in to comment.