Skip to content

Commit 100106d

Browse files
Create compiled release
1 parent 2f58d37 commit 100106d

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ jobs:
4848
# run: pnpm release.pkg-pr-new
4949
# env:
5050
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
#
52+
53+
- name: Upload Release Assets
54+
uses: softprops/action-gh-release@v2
55+
if: github.ref_type == 'tag'
56+
with:
57+
files: 'lib.tar.gz'
5158

5259
- name: Create Release Pull Request or Publish
5360
if: github.ref == 'refs/heads/main'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ node_modules/
2424
.idea
2525
.history
2626
tests/integrations/load-scripts-on-main-thread/snippet.js
27+
lib.tar.gz

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
],
6262
"scripts": {
6363
"build": "tsc && rollup -c scripts/rollup.config.js",
64-
"build.prod": "tsc && rollup -c scripts/rollup.config.js --configReleaseBuild",
64+
"build.prod": "tsc && rollup -c scripts/rollup.config.js --configReleaseBuild && tar -zcvf lib.tar lib && gzip lib.tar",
6565
"build.site": "cd docs && npm i && npm run build",
6666
"build.watch": "rollup -c scripts/rollup.config.js -w --configDev",
6767
"change": "changeset",

0 commit comments

Comments
 (0)