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

* fix the timing of "rm -rf node_modules" (#101)

This commit is contained in:
shimataro 2020-01-27 06:12:28 +09:00 committed by GitHub
parent f55d9bd4d2
commit 1c3dfa5189
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,6 @@ function update_package_version() {
}
function update_dependencies_version() {
rm -rf node_modules
npm ci
npm run check-updates -- -u
}
@ -137,6 +136,7 @@ function build_package() {
function commit_changes() {
local VERSION=$1
rm -rf node_modules
npm ci --only=production
git add CHANGELOG.md package.json package-lock.json node_modules lib
git commit -m "version ${VERSION}"