-
-
Notifications
You must be signed in to change notification settings - Fork 405
34 lines (27 loc) · 638 Bytes
/
ci.yml
File metadata and controls
34 lines (27 loc) · 638 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
33
34
name: NPM Test
env:
FORCE_COLOR: 1
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- '*'
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [20.x, 22.x, 24.x]
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e # v2.1.4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test