Skip to content

Commit

Permalink
ci: cache node modules
Browse files Browse the repository at this point in the history
  • Loading branch information
iamogbz authored and dependabot[bot] committed Oct 9, 2020
1 parent 346413c commit d721bb8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Install
run: |
npm install
Expand All @@ -29,7 +35,6 @@ jobs:
CI: true
run: |
npm test -- --ci --coverage
ls -l './artifacts/coverage'
- name: Build
run: |
npm run build
Expand Down

0 comments on commit d721bb8

Please sign in to comment.