Skip to content

Commit a2699fd

Browse files
committed
chore(release): migrate from Bun to PNPM for setup and dependency installation
1 parent c6a2d30 commit a2699fd

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,10 @@ jobs:
2929
with:
3030
fetch-depth: 0
3131

32-
# Enable this after PNPM migration
33-
# - name: Setup PNPM
34-
# uses: pnpm/action-setup@v4
35-
# with:
36-
# version: 9.15.0
37-
38-
# TODO: Disable this after PNPM migration
39-
- name: Setup Bun
40-
uses: oven-sh/setup-bun@v1
32+
- name: Setup PNPM
33+
uses: pnpm/action-setup@v4
4134
with:
42-
bun-version: latest
35+
version: 9.15.0
4336

4437
- name: Install rust
4538
uses: actions-rs/toolchain@v1
@@ -60,9 +53,7 @@ jobs:
6053
registry-url: 'https://registry.npmjs.org'
6154

6255
- name: Install project dependencies
63-
run: bun install --frozen-lockfile
64-
# Enable this after PNPM migration
65-
# run: pnpm install --frozen-lockfile
56+
run: pnpm install --frozen-lockfile
6657

6758
- name: Check current pre-release mode
6859
run: |
@@ -74,19 +65,14 @@ jobs:
7465
fi
7566
7667
- name: Build
77-
run: bun run build
78-
# Enable this after pnpm migration
79-
# run: pnpm build
68+
run: pnpm build
8069

8170
- name: Create Release Pull Request or Publish to npm
8271
id: changesets
8372
uses: changesets/action@v1
8473
with:
85-
version: bunx changeset version
86-
publish: bunx changeset publish --access public
87-
# Enable this after pnpm migration
88-
# version: pnpm changeset version
89-
# publish: pnpm changeset publish --access public
74+
version: pnpm changeset version
75+
publish: pnpm changeset publish --access public
9076
commit: 'chore(release): version packages'
9177
title: 'chore(release): version packages'
9278
env:

0 commit comments

Comments
 (0)