Skip to content

Commit

Permalink
Fix cache config
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmusbe committed Oct 1, 2020
1 parent 6ce171b commit ba226c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Expand Up @@ -17,12 +17,12 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2.1.1
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-${{ matrix.node-version }}-node-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-node-
${{ runner.os }}-node-
- name: npm install and test
run: |
npm ci
Expand Down

0 comments on commit ba226c1

Please sign in to comment.