File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - " dependabot/**"
8+ pull_request :
9+ branches :
10+ - " **"
11+
12+ env :
13+ CI : true
14+
15+ jobs :
16+ test :
17+ name : Test on Node.js ${{ matrix.node }} and ${{ matrix.os }}
18+
19+ runs-on : ${{ matrix.os }}
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ node : [10, 12]
25+ os : [ubuntu-latest, windows-latest, macos-latest]
26+
27+ steps :
28+ - name : Set git to use LF
29+ run : |
30+ git config --global core.autocrlf false
31+ git config --global core.eol lf
32+
33+ - uses : actions/checkout@v2
34+
35+ - name : Use Node.js ${{ matrix.node }}
36+ uses : actions/setup-node@v1
37+ with :
38+ node-version : ${{ matrix.node }}
39+
40+ - name : Install latest npm
41+ run : npm install --global npm@latest
42+
43+ - name : Install dependencies
44+ run : npm ci
45+
46+ - name : Test
47+ run : npm test
You can’t perform that action at this time.
0 commit comments