Skip to content

Commit

Permalink
fix npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
ycmjason committed Oct 20, 2024
1 parent eac5e2a commit 4ceddd9
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
pull_request:

jobs:
fmt-lint-check-test:
fmt-lint-check:
name: "Format / Lint / Type Check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -17,5 +18,24 @@ jobs:
- run: deno fmt --check
- run: deno lint
- run: deno check --doc .
deno-unit:
name: "Unit Test (Deno)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- run: deno task test:unit
node-unit:
name: "Unit Test (Node.js)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- uses: actions/setup-node@v4
with:
node-version: ">=20"
- run: deno task build:npm:unit

0 comments on commit 4ceddd9

Please sign in to comment.