File tree Expand file tree Collapse file tree 2 files changed +36
-33
lines changed Expand file tree Collapse file tree 2 files changed +36
-33
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ pull_request :
4+ push :
5+
6+ env :
7+ THREADS_WORKER_INIT_TIMEOUT : 15000
8+
9+ jobs :
10+ Test :
11+ if : " !contains(github.event.head_commit.message, '[skip ci]')"
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ matrix :
15+ node_version : [ '10', '12', '14' ]
16+ os : ['ubuntu-latest', 'macos-latest', 'windows-latest']
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Setup node
20+ uses : actions/setup-node@v2-beta
21+ with :
22+ node-version : ${{ matrix.node }}
23+ node-arch : ${{ matrix.arch }}
24+
25+ - name : install dependencies and build
26+ run : npm install
27+
28+ - name : run the tests
29+ run : npm test
30+
31+ Skip :
32+ if : contains(github.event.head_commit.message, '[skip ci]')
33+ runs-on : ubuntu-latest
34+ steps :
35+ - name : Skip CI 🚫
36+ run : echo skip ci
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments