File tree Expand file tree Collapse file tree 3 files changed +32
-8
lines changed Expand file tree Collapse file tree 3 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - ' **'
10+
11+ jobs :
12+ lint :
13+ name : Lint on Node.js LTS
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+
20+ - uses : actions/setup-node@v3
21+ with :
22+ node-version : ' lts/*'
23+
24+ - run : npm ci
25+
26+ - name : Lint and Test
27+ run : npm run lint
Original file line number Diff line number Diff line change 1- name : CI
1+ name : Test
22
33on :
44 push :
1010
1111jobs :
1212 test :
13- name : Lint and test on Node.js ${{ matrix.node }}
13+ name : Test on Node.js ${{ matrix.node }}
1414
1515 runs-on : ubuntu-latest
1616
2626 with :
2727 node-version : ${{ matrix.node }}
2828
29- - name : Install latest npm
30- run : npm install --global npm@latest
31-
3229 - run : npm ci
3330
34- - name : Lint and Test
31+ - name : Test
3532 run : npm test
Original file line number Diff line number Diff line change 4141 "prettier-config-hudochenkov" : " ^0.3.0"
4242 },
4343 "scripts" : {
44- "test" : " npm run lint && jest" ,
45- "jest " : " jest" ,
44+ "test-full " : " npm run lint && jest" ,
45+ "test " : " jest" ,
4646 "watch" : " jest --watch" ,
4747 "coverage" : " jest --coverage" ,
4848 "fix" : " npm run lint -- --fix && prettier --write *.js 'lib/**/*.js'" ,
You can’t perform that action at this time.
0 commit comments