Use npm ci
instead of npm install
in release script
In order not to update the package-lock.json file during releases.
This commit is contained in:
parent
dd2aa7c5ec
commit
bd1a7db46f
|
@ -48,7 +48,7 @@
|
||||||
"coverage": "nyc npm test",
|
"coverage": "nyc npm test",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && printf '%s' 'docs.openpgpjs.org' > docs/CNAME",
|
"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",
|
"version": "npm run docs && git add -A docs",
|
||||||
"postversion": "git push && git push --tags && npm publish"
|
"postversion": "git push && git push --tags && npm publish"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user