-
-
Notifications
You must be signed in to change notification settings - Fork 29
32 lines (31 loc) · 871 Bytes
/
test.yml
File metadata and controls
32 lines (31 loc) · 871 Bytes
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
name: Test
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- node: '22.21.1'
optional: false
- node: '24'
optional: false
- node: '26'
optional: true
continue-on-error: ${{ matrix.optional }}
name: Node ${{ matrix.node }}${{ matrix.optional && ' (optional)' || '' }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: ${{ matrix.node }}
cache: pnpm
- run: pnpm install
- run: pnpm test:ci
env:
NODE_OPTIONS: '--test-reporter=dot'