Skip to content

Commit

Permalink
ci: Use npm ci to install packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bertschneider committed Oct 31, 2023
1 parent 53c82c8 commit 912d33d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1
if: contains(matrix.os, 'windows')
- name: install dependencies
run: npm install --ws=@jazzer.js/fuzzer
run: npm ci --ws=@jazzer.js/fuzzer
- name: build and upload prebuilds
run: >
npm run prebuild --workspace=@jazzer.js/fuzzer -- ${{ matrix.opts }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
cache: "npm"
registry-url: https://registry.npmjs.org
- name: install & build
run: npm install && npm run build
run: npm ci && npm run build
- name: publish to npm
run: npm publish --workspaces --access public
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-all-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
node-version: 16
cache: "npm"
- name: install dependencies
run: npm install
run: npm ci
- name: install dependencies with apt
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1
if: contains(matrix.os, 'windows')
- name: install dependencies
run: npm install
run: npm ci
- name: build project
run: npm run build
- name: build fuzzer
Expand All @@ -77,7 +77,7 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1
if: contains(matrix.os, 'windows')
- name: install dependencies
run: npm install
run: npm ci
- name: build project
run: npm run build
- name: build fuzzer
Expand All @@ -96,7 +96,7 @@ jobs:
node-version: 16
cache: "npm"
- name: install dependencies
run: npm install
run: npm ci
- name: build project
run: npm run build
- name: build fuzzer
Expand Down

0 comments on commit 912d33d

Please sign in to comment.