Skip to content

Commit

Permalink
Chore: Use npm ci in CI workflow (#103)
Browse files Browse the repository at this point in the history
This ensures the lockfile is always up-to-date, among other benefits.

https://docs.npmjs.com/cli/v7/commands/npm-ci
  • Loading branch information
bmish committed Jul 15, 2021
1 parent 98f19d6 commit b495003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
node-version: '16.x'
- name: Install dependencies
run: npm install
run: npm ci
- name: Lint files
run: npm run lint
test:
Expand All @@ -36,6 +36,6 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm install
run: npm ci
- name: Run tests
run: npm test

0 comments on commit b495003

Please sign in to comment.