1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

* clean node_modules before "npm ci --only=production" in order not to add ".bin" directory

This commit is contained in:
shimataro 2020-01-27 05:57:37 +09:00
parent 9e83f1acf9
commit 414679afac
No known key found for this signature in database
GPG key ID: BE92C05736911A9D
3 changed files with 3 additions and 0 deletions

View file

@ -119,6 +119,7 @@ function update_package_version() {
}
function update_dependencies_version() {
rm -rf node_modules
npm ci
npm run check-updates -- -u
}

View file

@ -7,5 +7,6 @@ npm i
npm run build
npm run verify
rm -rf node_modules
npm ci --only=production
git add node_modules package-lock.json lib

View file

@ -25,6 +25,7 @@ npm run build
npm run verify
# commit
rm -rf node_modules
npm ci --only=production
git add package.json package-lock.json node_modules
git commit -m "update dependencies"