File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff line change @@ -24,3 +24,4 @@ node_modules/
2424.idea
2525.history
2626tests /integrations /load-scripts-on-main-thread /snippet.js
27+ lib.tar.gz
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments