Skip to content

Commit 2b10f1f

Browse files
committed
ci: migrate frontend workflow from npm to bun
- replace setup-node with oven-sh/setup-bun - replace npm ci with bun install - replace npm run with bun run - fixes CI failure due to missing package-lock.json
1 parent 602fc7d commit 2b10f1f

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,22 @@ jobs:
8080
steps:
8181
- uses: actions/checkout@v4
8282

83-
- name: Set up Node.js
84-
uses: actions/setup-node@v4
83+
- name: Set up Bun
84+
uses: oven-sh/setup-bun@v2
8585
with:
86-
node-version: '20'
87-
cache: 'npm'
88-
cache-dependency-path: './frontend/package-lock.json'
86+
bun-version: latest
8987

9088
- name: Install dependencies
9189
working-directory: ./frontend
92-
run: npm ci
90+
run: bun install
9391

9492
- name: Build frontend
9593
working-directory: ./frontend
96-
run: npm run build
94+
run: bun run build
9795

9896
- name: Check TypeScript
9997
working-directory: ./frontend
100-
run: npx tsc --noEmit
98+
run: bun run tsc --noEmit
10199

102100
security-scan:
103101
name: Security Scan

0 commit comments

Comments
 (0)