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:
parent
f55d9bd4d2
commit
1c3dfa5189
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,6 @@ function update_package_version() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_dependencies_version() {
|
function update_dependencies_version() {
|
||||||
rm -rf node_modules
|
|
||||||
npm ci
|
npm ci
|
||||||
npm run check-updates -- -u
|
npm run check-updates -- -u
|
||||||
}
|
}
|
||||||
|
@ -137,6 +136,7 @@ function build_package() {
|
||||||
function commit_changes() {
|
function commit_changes() {
|
||||||
local VERSION=$1
|
local VERSION=$1
|
||||||
|
|
||||||
|
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 node_modules lib
|
||||||
git commit -m "version ${VERSION}"
|
git commit -m "version ${VERSION}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue