Skip to content

Commit

Permalink
spec: test in bun
Browse files Browse the repository at this point in the history
  • Loading branch information
zbjornson committed Sep 18, 2023
1 parent e8223f5 commit b258bd6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ trim_trailing_whitespace = false
[*.gyp]
indent_style = space
indent_size = 2

[*.yaml]
indent_style = space
indent_size = 2
24 changes: 22 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Test
on: [push, pull_request]

jobs:
Test:
name: Test
Test_Nodejs:
name: Test Node.js
runs-on: ${{ matrix.platform }}
strategy:
matrix:
Expand All @@ -18,3 +18,23 @@ jobs:
run: npm install
- name: Test
run: npm test

Test_Bun:
name: Test Bun
runs-on: ${{ matrix.platform }}
strategy:
matrix:
bun: [latest]
platform: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: oven-sh/setup-bun@v1
with:
bun-version: ${{ matrix.bun }}
- uses: actions/checkout@v3
- name: Install
run: |
bun install -g node-gyp
bun install
node-gyp rebuild
- name: Test
run: bun run test

0 comments on commit b258bd6

Please sign in to comment.