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:
parent
da65732dbb
commit
1471fe7d17
3 changed files with 3 additions and 3 deletions
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue