mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
Feature/scripts (#95)
* * install all dependencies on creating release branch * * remove "&&"
This commit is contained in:
parent
a4c60cd030
commit
a7b3fb6713
1 changed files with 6 additions and 5 deletions
|
@ -119,11 +119,12 @@ function update_package_version() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_dependencies_version() {
|
function update_dependencies_version() {
|
||||||
|
npm ci
|
||||||
npm run check-updates -- -u
|
npm run check-updates -- -u
|
||||||
}
|
}
|
||||||
|
|
||||||
function regenerate_package_lock() {
|
function regenerate_package_lock() {
|
||||||
rm -rf package-lock.json node_modules &&
|
rm -rf package-lock.json node_modules
|
||||||
npm install
|
npm install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,8 +136,8 @@ function build_package() {
|
||||||
function commit_changes() {
|
function commit_changes() {
|
||||||
local VERSION=$1
|
local VERSION=$1
|
||||||
|
|
||||||
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