Skip to content

Commit

Permalink
Use cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 authored Feb 8, 2022
1 parent 82cac21 commit c234337
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ jobs:
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm publish
env:
Expand Down

0 comments on commit c234337

Please sign in to comment.