Skip to content

add tests for run loop with nested callbacks #74

add tests for run loop with nested callbacks

add tests for run loop with nested callbacks #74

Workflow file for this run

name: Test
on: push
jobs:
test:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
node: [20, 22]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: ${{ matrix.node }}
- name: Install node-gyp
run: pnpm add -g node-gyp
- run: pnpm install
env:
NO_PREBUILD: true
- name: Build Addon
run: node-gyp rebuild
# worker_threads needs js output
- name: Test
run: |
pnpm run compile:ts
pnpm run test:coverage
- uses: codecov/codecov-action@v4