File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -5,25 +5,24 @@ name: Node.js CI
55
66on :
77 push :
8- branches : [ main ]
8+ branches : [main]
99 pull_request :
10- branches : [ main ]
10+ branches : [main]
1111
1212jobs :
1313 build :
14-
1514 runs-on : ubuntu-latest
1615
1716 strategy :
1817 matrix :
1918 node-version : [12.x, 14.x]
2019
2120 steps :
22- - uses : actions/checkout@v2
23- - name : Use Node.js ${{ matrix.node-version }}
24- uses : actions/setup-node@v1
25- with :
26- node-version : ${{ matrix.node-version }}
27- - run : yarn install
28- - run : yarn build
29- - run : yarn test
21+ - uses : actions/checkout@v2
22+ - name : Use Node.js ${{ matrix.node-version }}
23+ uses : actions/setup-node@v1
24+ with :
25+ node-version : ${{ matrix.node-version }}
26+ - run : yarn install
27+ - run : yarn build
28+ - run : yarn test
Original file line number Diff line number Diff line change 2020 "security" : " npm audit" ,
2121 "lint:prettier" : " prettier --list-different ." ,
2222 "lint:js" : " eslint --cache ." ,
23- "lint" : " npm-run-all -l -p \" lint:** \" " ,
23+ "lint" : " yarn lint:js && yarn lint:prettier " ,
2424 "test:only" : " cross-env NODE_ENV=test jest" ,
2525 "test:watch" : " yarn test:only -- --watch" ,
2626 "test:coverage" : " yarn test:only -- --collectCoverageFrom=\" src/**/*.js\" --coverage" ,
You can’t perform that action at this time.
0 commit comments