Add build to release

This commit is contained in:
Stanislav Romanov 2022-10-24 17:32:35 +03:00
parent 194cf3b556
commit 3cb948640f
2 changed files with 9 additions and 2 deletions

View file

@ -27,6 +27,7 @@ jobs:
- name: Build
run: yarn build
# TODO: replace to https://github.com/actions/upload-pages-artifact
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:

View file

@ -122,10 +122,13 @@
"edition": "octane"
},
"release-it": {
"hooks": {
"after:bump": "yarn build && cd dist/ && tar -zcf dist.tgz *"
},
"plugins": {
"release-it-lerna-changelog": {
"infile": "CHANGELOG.md",
"launchEditor": true
"launchEditor": false
}
},
"git": {
@ -133,7 +136,10 @@
},
"github": {
"release": true,
"tokenRef": "GITHUB_AUTH"
"tokenRef": "GITHUB_AUTH",
"assets": [
"dist/dist.tgz"
]
},
"npm": false
}