File tree Expand file tree Collapse file tree 4 files changed +338
-2262
lines changed
Expand file tree Collapse file tree 4 files changed +338
-2262
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,10 @@ jobs:
1616 steps :
1717 - uses : actions/checkout@v4
1818
19- - name : Setup Node.js
20- uses : actions /setup-node@v4
19+ - name : Setup Bun
20+ uses : oven-sh /setup-bun@v2
2121 with :
22- node-version : lts/*
23- cache : ' npm'
22+ bun-version : latest
2423
2524 - name : Install Rust toolchain
2625 uses : dtolnay/rust-toolchain@stable
5352 echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:${PKG_CONFIG_PATH}" >> $GITHUB_ENV
5453
5554 - name : Install frontend dependencies
56- run : npm ci
55+ run : bun install --frozen-lockfile
5756
5857 - name : Check Rust formatting
5958 working-directory : src-tauri
7271 run : cargo test --all-features
7372
7473 - name : Build frontend
75- run : npm run build
74+ run : bun run build
Original file line number Diff line number Diff line change @@ -27,11 +27,10 @@ jobs:
2727 steps :
2828 - uses : actions/checkout@v4
2929
30- - name : Setup Node.js
31- uses : actions /setup-node@v4
30+ - name : Setup Bun
31+ uses : oven-sh /setup-bun@v2
3232 with :
33- node-version : lts/*
34- cache : ' npm'
33+ bun-version : latest
3534
3635 - name : Install Rust toolchain
3736 uses : dtolnay/rust-toolchain@stable
@@ -68,10 +67,10 @@ jobs:
6867 echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:${PKG_CONFIG_PATH}" >> $GITHUB_ENV
6968
7069 - name : Install frontend dependencies
71- run : npm ci
70+ run : bun install --frozen-lockfile
7271
7372 - name : Build frontend
74- run : npm run build
73+ run : bun run build
7574
7675 - name : Publish Tauri builds
7776 uses : tauri-apps/tauri-action@v0
You can’t perform that action at this time.
0 commit comments