diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9dc3c4b..5101c4f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: diff --git a/package.json b/package.json index 8e1903f..ed12e04 100644 --- a/package.json +++ b/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 }