Skip to content

Commit

Permalink
fix npm config on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
carpasse committed Apr 5, 2024
1 parent 453d9c2 commit 96a7d07
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@ jobs:
dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH"
- name: Configure npm
run: npm config set shrinkwrap false
run: |
if [[ "$(npm config get package-lock)" == "true" ]]; then
npm config set package-lock false
else
npm config set shrinkwrap false
fi
- name: Remove non-test npm modules
run: npm rm --silent --save-dev csv-parse raw-body stream-to-array
Expand Down

0 comments on commit 96a7d07

Please sign in to comment.