File tree Expand file tree Collapse file tree 2 files changed +49
-20
lines changed
Expand file tree Collapse file tree 2 files changed +49
-20
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ Test :
10+ if : " !contains(github.event.head_commit.message, '[skip ci]')"
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ os :
16+ - ubuntu-latest
17+ - macos-latest
18+ # - windows-latest
19+ node_version :
20+ - 12
21+ steps :
22+ - uses : actions/checkout@v2
23+ with :
24+ submodules : recursive
25+
26+ - name : Install Node
27+ uses : actions/setup-node@v2
28+ with :
29+ node-version : ${{ matrix.node_version }}
30+
31+ - name : Install dependencies and build
32+ run : npm install
33+
34+ - name : Tests
35+ run : npm run test
36+
37+ - name : Upload artifacts
38+ uses : actions/upload-artifact@v2
39+ with :
40+ path : |
41+ ./build
42+ ./deps
43+
44+ Skip :
45+ if : contains(github.event.head_commit.message, '[skip ci]')
46+ runs-on : ubuntu-latest
47+ steps :
48+ - name : Skip CI 🚫
49+ run : echo skip ci
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments