File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Node.js CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ env :
12+ CI : true
13+
14+ runs-on : ${{ matrix.os }}
15+
16+ # TODO: enable builds on Windows
17+ strategy :
18+ matrix :
19+ os : [ubuntu-latest, macOS-latest]
20+ node-version : [10.x, 12.x]
21+
22+ steps :
23+ - uses : actions/checkout@v2
24+ - name : Use Node.js ${{ matrix.node-version }}
25+ uses : actions/setup-node@v1
26+ with :
27+ node-version : ${{ matrix.node-version }}
28+ - name : Setup Git for committing
29+ run : |
30+ git config --global user.name "GitHub Actions"
31+ git config --global user.email "gh-actions@domain"
32+ - run : npm ci
33+ name : Run NPM clean install
34+ - name : Run tests
35+ shell : pwsh
36+ run : ./test/GitInfoTest.ps1
You can’t perform that action at this time.
0 commit comments