Skip to content

Commit 47c1450

Browse files
feat: create compiled release
1 parent 2f58d37 commit 47c1450

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.changeset/funny-monkeys-grin.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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.

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,14 @@ jobs:
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 }}

.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

0 commit comments

Comments
 (0)