Skip to content

Commit

Permalink
feat(deps): use @vercel/ncc
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed May 19, 2022
1 parent 9ab1565 commit 102ec57
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 4 deletions.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
default: ''
runs:
using: 'node16'
main: 'index.js'
main: 'dist/index.js'
branding:
icon: 'upload-cloud'
color: 'purple'
18 changes: 17 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@
"type": "git",
"url": "https://github.com/sws2apps/firebase-deployment.git"
},
"scripts": {},
"scripts": {
"build": "ncc build src/index.js --license licenses.txt"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1"
"@semantic-release/git": "^10.0.1",
"@vercel/ncc": "^0.33.4"
},
"dependencies": {
"@actions/core": "^1.8.2",
Expand Down
6 changes: 6 additions & 0 deletions release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ module.exports = {
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
[
'@semantic-release/exec',
{
prepareCmd: 'npm run build',
},
],
'@semantic-release/github',
],
};
File renamed without changes.

0 comments on commit 102ec57

Please sign in to comment.