Merge pull request #28 from kaermorchen/feature/release-artifact
Add build to release
This commit is contained in:
commit
1d9c3c2237
2 changed files with 9 additions and 2 deletions
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
10
package.json
10
package.json
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue