File tree Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Expand file tree Collapse file tree 4 files changed +21
-2
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 : Tar and gzip the lib directory
64+ shell : bash
65+ run : tar -zcvf lib.tar lib && gzip lib.tar
66+
67+ - name : Upload release asset
68+ user : actions4gh/setup-gh@v1
69+ if : github.ref_type == 'tag'
70+ run : gh release ${{ github.ref }} upload './lib.tar.gz#Compiled lib'
71+ env :
72+ 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 @@ -71,7 +71,7 @@ export const createImageConstructor = (env: WebWorkerEnvironment) =>
7171 toggleAttribute ( name : string , force ?: boolean ) : boolean {
7272 const normalizedName = name . toLowerCase ( ) ;
7373 const hasAttr = this . attributes . has ( normalizedName ) ;
74-
74+
7575 if ( force !== undefined ) {
7676 if ( force ) {
7777 if ( ! hasAttr ) {
@@ -83,7 +83,7 @@ export const createImageConstructor = (env: WebWorkerEnvironment) =>
8383 return false ;
8484 }
8585 }
86-
86+
8787 if ( hasAttr ) {
8888 this . attributes . delete ( normalizedName ) ;
8989 return false ;
You can’t perform that action at this time.
0 commit comments