Skip to content

Commit 5851991

Browse files
authored
Merge pull request #15 from sjwilczynski/sjwilczy/migrateToBun
chore: migrate to bun
2 parents ea3f1cd + c94424b commit 5851991

File tree

11 files changed

+3084
-33578
lines changed

11 files changed

+3084
-33578
lines changed

.github/workflows/chromatic.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ jobs:
1111
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
14-
- uses: actions/setup-node@v4
15-
with:
16-
node-version: 22.12.0
14+
- name: Set up Bun
15+
uses: oven-sh/setup-bun@v1
1716
- name: Install dependencies
18-
run: npm install
17+
run: bun install
1918
- name: Run Chromatic
2019
uses: chromaui/action@latest
2120
with:
2221
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
23-
autoAcceptChanges: "main"
22+
autoAcceptChanges: "master"

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,19 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818

19-
- name: Install Node.js
20-
uses: actions/setup-node@v1
21-
with:
22-
node-version: 20.x
19+
- name: Set up Bun
20+
uses: oven-sh/setup-bun@v1
2321

2422
- name: Install dependencies
25-
run: npm install
23+
run: bun install
2624

2725
- name: Install playwright
28-
run: npx playwright install chromium-headless-shell --with-deps
26+
run: bunx playwright install chromium-headless-shell --with-deps
2927

3028
- name: Build, lint and test
31-
run: npm run build && npm run lint && npm run test
29+
run: bun run build && bun run lint && bun run test
3230

3331
- name: Deploy to Azure
3432
uses: TravisSpomer/[email protected]

.github/workflows/size-limit.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ jobs:
99
env:
1010
CI_JOB_NUMBER: 1
1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v4
13+
- name: Set up Bun
14+
uses: oven-sh/setup-bun@v1
15+
- name: Install dependencies
16+
run: bun install
1317
- uses: andresz1/size-limit-action@v1
1418
with:
1519
github_token: ${{ secrets.GITHUB_TOKEN }}

bun.lock

Lines changed: 3043 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)