File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -2,24 +2,38 @@ name: Node.js CI
22
33on :
44 push :
5+ branches :
6+ - master
57 pull_request :
8+ types : [opened, synchronize, reopened, ready_for_review]
9+ branches :
10+ - ' **'
611
712jobs :
813 build :
914 runs-on : ubuntu-latest
1015 strategy :
1116 matrix :
12- node-version : [14.x, 16.x]
17+ node-version : [14.x, 16.x, 18.x ]
1318 steps :
1419 - uses : actions/checkout@v3
1520 - name : Use Node.js ${{ matrix.node-version }}
1621 uses : actions/setup-node@v3
1722 with :
1823 cache : yarn
1924 node-version : ${{ matrix.node-version }}
20- - run : yarn install
21- - run : yarn build
22- - run : yarn coverage
25+ - name : Install dependencies
26+ run : yarn install
27+ - name : Prettier
28+ run : yarn prettify
29+ - name : Tests
30+ run : |
31+ yarn test:cli
32+ yarn test
33+ - name : Build
34+ run : yarn build
35+ - name : Coverage
36+ run : yarn coverage
2337 - uses : codecov/codecov-action@v3
2438 with :
2539 name : node-${{ matrix.node-version }}
You can’t perform that action at this time.
0 commit comments