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

Don't add node_modules ins Bash scripts

This commit is contained in:
Tatsunori Uchino 2021-01-11 17:56:10 +09:00
parent da65732dbb
commit 1471fe7d17
3 changed files with 3 additions and 3 deletions

View file

@ -105,7 +105,7 @@ function commit_changes() {
rm -rf node_modules rm -rf node_modules
npm ci --only=production npm ci --only=production
git add CHANGELOG.md package.json package-lock.json node_modules lib git add CHANGELOG.md package.json package-lock.json lib
git commit -m "version ${VERSION}" git commit -m "version ${VERSION}"
} }

View file

@ -8,4 +8,4 @@ npm run verify
rm -rf node_modules rm -rf node_modules
npm ci --only=production npm ci --only=production
git add node_modules lib git add lib

View file

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