File tree Expand file tree Collapse file tree 4 files changed +16
-1
lines changed
Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @qwik.dev/partytown ' : minor
3+ ---
4+
5+ feat: Creates a compiled release of the lib directory.
6+
7+ This creates a compiled release of the ` lib ` directory for use by integration builders and HTML-only developers.
Original file line number Diff line number Diff line change 5959 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
6060 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6161 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62+
63+ - name : Upload release asset
64+ user : actions4gh/setup-gh@v1
65+ if : github.ref_type == 'tag'
66+ run : gh release ${{ github.ref }} upload './lib.tar.gz#Compiled lib'
67+ env :
68+ GH_REPO : ${{ github.repository }}
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