Skip to content

Commit 036bb5f

Browse files
committed
update workflow to use bun instead of yarn
1 parent c80c994 commit 036bb5f

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

.github/workflows/nodejs.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,27 @@ jobs:
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323

24-
- name: yarn
25-
run: yarn --network-concurrency 1
26-
- name: linter checks
27-
run: yarn lint
28-
- name: prettify diff
29-
run: yarn prettify:diff
30-
- name: tests
31-
run: yarn test
24+
- name: Set up Bun
25+
uses: oven-sh/setup-bun@3d267786b128fe76c2f16a390aa2448b815359f3 #v2.1.2
26+
with:
27+
bun-version: 1.3.x
28+
29+
- name: Install dependencies
30+
run: bun install --frozen-lockfile
31+
32+
- name: Linter checks
33+
run: bun run lint
34+
35+
- name: Prettify diff
36+
run: bun run prettify:diff
37+
38+
- name: Tests
39+
run: bun run test
3240
env:
3341
CI: true
34-
- name: build
35-
run: yarn build
36-
- name: check i18n dupes
37-
run: yarn i18n-check-dupes
3842

43+
- name: Build
44+
run: bun run build
45+
46+
- name: Check i18n dupes
47+
run: bun run i18n-check-dupes

0 commit comments

Comments
 (0)