Skip to content

Commit

Permalink
Use npm ci instead of npm install in release script
Browse files Browse the repository at this point in the history
In order not to update the package-lock.json file during releases.
  • Loading branch information
twiss committed Jun 29, 2022
1 parent dd2aa7c commit bd1a7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -48,7 +48,7 @@
"coverage": "nyc npm test",
"lint": "eslint .",
"docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && printf '%s' 'docs.openpgpjs.org' > docs/CNAME",
"preversion": "rm -rf dist docs node_modules && npm install && npm test",
"preversion": "rm -rf dist docs node_modules && npm ci && npm test",
"version": "npm run docs && git add -A docs",
"postversion": "git push && git push --tags && npm publish"
},
Expand Down

0 comments on commit bd1a7db

Please sign in to comment.