Skip to content

Commit 526808f

Browse files
authored
feat: create zip bundling workflow (#172)
1 parent e66c03f commit 526808f

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/release.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: REL
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
bundle:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: pnpm/action-setup@v2
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: 18
18+
cache: pnpm
19+
20+
- run: pnpm install
21+
- run: pnpm build
22+
- run: cd build && zip -r svelte-devtools-${{ github.sha }} *
23+
24+
- uses: actions/upload-artifact@v3
25+
with:
26+
name: extension-${{ github.sha }}
27+
path: build/svelte-devtools-${{ github.sha }}.zip
28+
29+
# publish:
30+
# runs-on: ubuntu-latest
31+
# needs: bundle
32+
33+
# steps:
34+
# - uses: actions/download-artifact@v3
35+
# with:
36+
# name: extension-${{ github.sha }}

0 commit comments

Comments
 (0)