Skip to content

Commit 0d821b7

Browse files
committed
chore: update CI workflow to use Bun for installation and TypeScript build
1 parent 81ffe58 commit 0d821b7

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/pull.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,14 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v3
2020

21-
- name: Install Node v22
22-
uses: actions/setup-node@v3
23-
with:
24-
node-version: 22
25-
cache: npm
26-
2721
- name: Install Bun
28-
run: npm i bun -g
22+
uses: oven-sh/setup-bun@v2
23+
with:
24+
bun-version: "latest"
2925

3026
- name: Install dependencies
3127
run: bun install
3228

3329
- name: Build typescript files
34-
run: npm run build
30+
run: bun tsbuild
3531

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc -b && vite build",
9+
"tsbuild": "tsc -b && vite build",
910
"lint": "eslint .",
1011
"preview": "vite preview",
1112
"test": "npx tailwindcss init"

0 commit comments

Comments
 (0)