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

Use ncc to pack dependencies

This commit is contained in:
Tatsunori Uchino 2021-01-11 19:50:29 +09:00
parent 1471fe7d17
commit 0822ef6c96
4 changed files with 8 additions and 4 deletions

View file

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

View file

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

View file

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