Skip to content

Commit

Permalink
ci: prevent error in npm ci caused by npm/cli#6787, workaround is to …
Browse files Browse the repository at this point in the history
…use install dependencies instead of clean build with ci
  • Loading branch information
christiangalsterer committed Apr 21, 2024
1 parent 354154a commit 26f0642
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 12 deletions.
79 changes: 68 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"ci": "npm ci --include=prod --include=dev && npm run lint && npm run build && npm run test && npm run renovate:config",
"ci": "npm i --save-dev && npm run lint && npm run build && npm run test && npm run renovate:config",
"clean": "npm run clean:dist && npm run clean:deps",
"clean:dist": "rm -rf ./dist",
"clean:deps": "rm -rf ./node_modules && rm -rf package-lock.json && npm run deps",
Expand Down

0 comments on commit 26f0642

Please sign in to comment.