Skip to content

Commit

Permalink
ci: add bun CI
Browse files Browse the repository at this point in the history
  • Loading branch information
owlcode committed Apr 3, 2024
1 parent f1af3af commit 2aa1d8f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
indent_style = space
indent_size = 2
16 changes: 14 additions & 2 deletions .github/workflows/nodejs.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node.js CI
name: CI

on:
push:
Expand All @@ -11,7 +11,7 @@ on:
- '**'

jobs:
build:
nodejs:
name: Test on Node.js v${{ matrix.node-version }} and OS ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -40,3 +40,15 @@ jobs:
run: npm i
- name: Test
run: npm run test
bun:
name: Test on Bun
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install Dependencies
run: bun install
- name: Test
run: bun test-unit

0 comments on commit 2aa1d8f

Please sign in to comment.