-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1.01 KB
/
core.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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]
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