spec: test in bun #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | ||
on: [push, pull_request] | ||
jobs: | ||
Test Nodejs: | ||
Check failure on line 5 in .github/workflows/ci.yaml GitHub Actions / TestInvalid workflow file
|
||
name: Test Node.js | ||
runs-on: ${{ matrix.platform }} | ||
strategy: | ||
matrix: | ||
node: [16, 18, 20] | ||
platform: [ubuntu-latest, windows-latest, macos-latest] | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- uses: actions/checkout@v3 | ||
- name: Install | ||
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 | ||
- name: Test | ||
run: bun test |