Merge pull request #28 from kaermorchen/feature/release-artifact

Add build to release
This commit is contained in:
Stanislav Romanov 2022-10-24 17:33:57 +03:00 committed by GitHub
commit 1d9c3c2237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
}