Skip to content

add node/bun tests for core #1

add node/bun tests for core

add node/bun tests for core #1

Workflow file for this run

name: "Handle @arpc-packages/core checks"
on:
push:
paths:
- "packages/arpc-core/**"
- ".github/workflows/core.yml"
jobs:
node-test:
name: "Run node tests (Node ${{ matrix.node-version }})"
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18, 19, 20, 22, 23, 24]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
working-directory: ./packages/arpc-core
- run: npm run test
working-directory: ./packages/arpc-core
bun-test:
name: "Run bun tests"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: npm ci
working-directory: ./packages/arpc-core
- run: bun test
working-directory: ./packages/arpc-core