Skip to content

Commit

Permalink
npm ci, cache
Browse files Browse the repository at this point in the history
  • Loading branch information
naftali100 committed Oct 25, 2023
1 parent d2d119c commit 0dc3a7d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,15 @@ jobs:
with:
node-version: 20

- name: Cache
uses: actions/[email protected]
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-

- name: Install dependencies
run: npm install
run: npm ci

- name: Test
run: npm run test
Expand Down

0 comments on commit 0dc3a7d

Please sign in to comment.