Skip to content

Add npm build test to CI and fix broken build #102

Add npm build test to CI and fix broken build

Add npm build test to CI and fix broken build #102

Workflow file for this run

on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
deno_ci:
uses: cross-org/workflows/.github/workflows/deno-ci.yml@main
with:
entrypoint: mod.ts
lint_docs: false
bun_ci:
uses: cross-org/workflows/.github/workflows/bun-ci.yml@main
with:
jsr_dependencies: "@std/assert @std/async @cross/runtime"
npm_dependencies: "sinon"
node_ci:
uses: cross-org/workflows/.github/workflows/node-ci.yml@main
with:
test_target: "*.test.ts"
jsr_dependencies: "@std/assert @std/async @cross/runtime"
npm_dependencies: "sinon"
npm_build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v2.x
- name: Build npm package
run: deno task build:dist