Skip to content

Commit

Permalink
ci(github): replace npm install with npm ci in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Oct 29, 2023
1 parent 41474e3 commit 6f9b506
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version-file: .nvmrc

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

- name: Lint JavaScript
run: npm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
node-version-file: .nvmrc

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

- name: Lint commit message
run: npx commitlint --from=HEAD~1
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
registry-url: https://registry.npmjs.org

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

- name: Publish
run: npm publish
Expand Down

0 comments on commit 6f9b506

Please sign in to comment.