File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 pull_request :
55 push :
66 branches :
7- - main
7+ - release_test
8+ tags :
9+ - " v*.*.*"
810
911jobs :
1012 release :
4850 # run: pnpm release.pkg-pr-new
4951 # env:
5052 # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+ #
54+
55+ - name : Upload Release Assets
56+ uses : softprops/action-gh-release@v2
57+ with :
58+ files : ' lib.tar.gz'
5159
5260 - name : Create Release Pull Request or Publish
5361 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