Skip to content

Commit af08f94

Browse files
committed
don't install bun in named step
1 parent eaef05b commit af08f94

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

.github/workflows/pr.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,15 @@ jobs:
8080
echo NAVIGATION_DATA_SIGNED_URL=${{ secrets.NAVIGATION_DATA_SIGNED_URL }} >> .env
8181
echo SENTRY_URL=${{ secrets.SENTRY_URL }} >> .env
8282
83-
- name: Install Bun
84-
uses: oven-sh/setup-bun@v2
83+
- uses: oven-sh/setup-bun@v2
84+
with:
85+
bun-version: latest
86+
87+
- name: Install node modules
88+
run: bun i --frozen-lockfile
8589

8690
- name: Build WASM
87-
run: |
88-
bun install
89-
bun run package
91+
run: bun run package
9092

9193
- name: Upload WASM module to GitHub
9294
uses: actions/upload-artifact@v4

.github/workflows/pre-release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ jobs:
1818
run: |
1919
echo SENTRY_URL=${{ secrets.SENTRY_URL }} >> .env
2020
21-
- name: Install Bun
22-
uses: oven-sh/setup-bun@v2
21+
- uses: oven-sh/setup-bun@v2
22+
with:
23+
bun-version: latest
24+
25+
- name: Install node modules
26+
run: bun i --frozen-lockfile
2327

2428
- name: Build WASM
25-
run: |
26-
bun install
29+
run: bun run package
2730

2831
- name: Pre-Release
2932
uses: softprops/action-gh-release@v1

.github/workflows/release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ jobs:
1919
run: |
2020
echo SENTRY_URL=${{ secrets.SENTRY_URL }} >> .env
2121
22-
- name: Install Bun
23-
uses: oven-sh/setup-bun@v2
22+
- uses: oven-sh/setup-bun@v2
23+
with:
24+
bun-version: latest
25+
26+
- name: Install node modules
27+
run: bun i --frozen-lockfile
2428

2529
- name: Build WASM
26-
run: |
27-
bun install
30+
run: bun run package
2831

2932
- name: Release
3033
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)