forked from sebhildebrandt/systeminformation
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (32 loc) · 784 Bytes
/
test.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
36
37
name: Test
on: [
pull_request,
push
]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x, 17.x, 18.x, 19.x, 20.x]
include:
- os: macos-latest
node-version: 16.x
- os: macos-latest
node-version: 18.x
- os: macos-latest
node-version: 20.x
- os: windows-latest
node-version: 16.x
- os: windows-latest
node-version: 18.x
- os: windows-latest
node-version: 20.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: node test/ci.js