mirror of
https://github.com/kou029w/websri.git
synced 2025-01-18 16:08:16 +00:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: test
|
|
on: push
|
|
jobs:
|
|
node:
|
|
name: Node.js v${{ matrix.node-version }}
|
|
strategy:
|
|
matrix:
|
|
node-version:
|
|
- 20
|
|
- 22
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: npm
|
|
- run: npm ci
|
|
- run: npm test
|
|
deno:
|
|
name: Deno
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
- uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2
|
|
with:
|
|
bun-version: latest
|
|
- run: bun test
|
|
working-directory: runtime/bun
|