Skip to content

Commit 4c3754c

Browse files
committed
chore: bump deps.
1 parent cc86321 commit 4c3754c

File tree

5 files changed

+113
-92
lines changed

5 files changed

+113
-92
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [ published ]
66

7+
env:
8+
RELEASE_VERSION: ${{ github.event.release.tag_name }}
9+
710
permissions:
811
id-token: write
912

@@ -20,13 +23,23 @@ jobs:
2023
- name: 📦️ Install dependencies
2124
run: bun install --frozen-lockfile
2225

26+
- name: ✏️ Tag v${{ env.RELEASE_VERSION }}
27+
run: |
28+
bun pm version --cwd packages/common ${{ env.RELEASE_VERSION }}
29+
bun pm version --cwd packages/fireworks ${{ env.RELEASE_VERSION }}
30+
bun pm version --cwd packages/snow ${{ env.RELEASE_VERSION }}
31+
32+
sed -i 's/workspace:\*/${{ env.RELEASE_VERSION }}/g' packages/common/package.json
33+
sed -i 's/workspace:\*/${{ env.RELEASE_VERSION }}/g' packages/fireworks/package.json
34+
sed -i 's/workspace:\*/${{ env.RELEASE_VERSION }}/g' packages/snow/package.json
35+
2336
- name: 🔨 Build
2437
run: |
25-
bun run --cwd packages/common build
26-
bun run --cwd packages/fireworks build
27-
bun run --cwd packages/snow build
38+
bun --cwd packages/common build
39+
bun --cwd packages/fireworks build
40+
bun --cwd packages/snow build
2841
29-
- name: 🚀 Publish
42+
- name: 🚀 Publish v${{ env.RELEASE_VERSION }}
3043
run: |
3144
bun publish --cwd packages/common --access public
3245
bun publish --cwd packages/fireworks --access public

0 commit comments

Comments
 (0)