Skip to content

Commit

Permalink
add node/bun tests for core
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmJSD committed Nov 30, 2024
1 parent 72ce596 commit eb82b48
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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

0 comments on commit eb82b48

Please sign in to comment.