Skip to content

Commit

Permalink
Use read-only npm command (#423)
Browse files Browse the repository at this point in the history
`npm install` doesn't treat the lock file as read-only and may fetch / install unpinned dependencies and update the lockfiles.
`npm install-ci-test` is used to install and run tests in read-only mode in a CI environment.
  • Loading branch information
lucacome authored Feb 9, 2023
1 parent fbcaf64 commit de9bc07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ jobs:
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
- run: npm --prefix ${{ github.workspace }}/internal/nginx/modules install
- run: npm --prefix ${{ github.workspace }}/internal/nginx/modules test
- run: npm --prefix ${{ github.workspace }}/internal/nginx/modules install-ci-test

binary:
name: Build Binary
Expand Down

0 comments on commit de9bc07

Please sign in to comment.