File tree Expand file tree Collapse file tree 3 files changed +3354
-15
lines changed
Expand file tree Collapse file tree 3 files changed +3354
-15
lines changed Original file line number Diff line number Diff line change 1+ name : Run Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ unit :
14+ runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ node-version : [14, 'lts/*']
18+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19+ steps :
20+ - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
21+ - name : Use Node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v3 # v1
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+ registry-url : https://registry.npmjs.org/
26+ cache : ' npm'
27+ - run : npm i
28+ - run : npm run unit
29+ coverage :
30+ runs-on : ubuntu-latest
31+ strategy :
32+ matrix :
33+ node-version : [14, 'lts/*']
34+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
35+ steps :
36+ - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
37+ - name : Use Node.js ${{ matrix.node-version }}
38+ uses : actions/setup-node@v3 # v1
39+ with :
40+ node-version : ${{ matrix.node-version }}
41+ registry-url : https://registry.npmjs.org/
42+ cache : ' npm'
43+ - run : npm i
44+ - run : npm run coverage
45+ lint :
46+ runs-on : ubuntu-latest
47+ strategy :
48+ matrix :
49+ node-version : [14, 'lts/*']
50+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
51+ steps :
52+ - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
53+ - name : Use Node.js ${{ matrix.node-version }}
54+ uses : actions/setup-node@v3 # v1
55+ with :
56+ node-version : ${{ matrix.node-version }}
57+ registry-url : https://registry.npmjs.org/
58+ cache : ' npm'
59+ - run : npm i
60+ - run : npm run standard
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments