websri/.github/workflows/test.yml

43 lines
946 B
YAML
Raw Normal View History

2024-09-03 03:14:59 +09:00
name: test
on: push
jobs:
2024-09-03 09:50:43 +09:00
node:
2024-09-03 03:14:59 +09:00
name: Node.js v${{ matrix.node-version }}
strategy:
matrix:
node-version:
- 20
- 22
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm test
2024-09-03 09:50:43 +09:00
deno:
name: Deno
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: latest
- run: deno task test
working-directory: runtime/deno
bun:
name: Bun
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun test
working-directory: runtime/bun