mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
refactor: use bun in Dockerfile and CI workflow
This commit is contained in:
1 parent
77577d9b8d
commit
634dc8f987
16 files changed
+100
-72
No files matched your search
@@ -11,18 +11,26 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: 1.3.14
|
||||
|
||||
# Jest still runs on Node until tests move to `bun test`
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Type check
|
||||
run: bun run type-check
|
||||
|
||||
- name: Build
|
||||
run: yarn build
|
||||
run: bun run build
|
||||
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
run: bun run lint
|
||||
|
||||
- name: Test
|
||||
run: yarn test
|
||||
run: bun run test
|
||||
Reference in new issue
Block a user