Skip to content

Commit

Permalink
tweak actions matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed May 27, 2024
1 parent 0d0f684 commit 4ba83a1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [18, 20, 22]
js: [[node, 18], [node, 20], [node,22], [bun,1]]
os: [ubuntu-latest, macos-latest, windows-latest]
bun: [latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}
node-version: ${{matrix.js[1]}}
if: ${{matrix.js[0] == 'node'}}
- uses: oven-sh/setup-bun@v1
with:
bun-version: ${{matrix.bun}}
bun-version: ${{matrix.js[1]}}
if: ${{matrix.js[0] == 'bun'}}
- run: make lint test
if: ${{matrix.js[0] == 'node'}}
- run: bun test
if: ${{matrix.js[0] == 'bun'}}

0 comments on commit 4ba83a1

Please sign in to comment.