-
Notifications
You must be signed in to change notification settings - Fork 28
42 lines (39 loc) · 894 Bytes
/
ci.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
38
39
40
41
42
on:
push:
pull_request:
schedule:
- cron: '0 4 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 12.x
- 14.x
- 16.10.0
- 16.16.0
- 16.17.0
- 16.x
- 17.x
- 18.5.0
- 18.18.0
- 18.19.0
- 18.x
- 20.9.0
- 20.x
- 21.x
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- run: npm run test:ts
if: (matrix.node-version != '12.x' && matrix.node-version != '14.x' && matrix.node-version != '16.10.0')