11name : test
22on :
3- pull_request :
4- branches :
5- - master
6- push :
7- branches :
8- - master
3+ pull_request :
4+ branches :
5+ - master
6+ push :
7+ branches :
8+ - master
99
1010jobs :
11- test :
12- runs-on : ubuntu-latest
13- timeout-minutes : 5
14- strategy :
15- matrix :
16- node : [ '12 ', '14 ', '15' ]
17- name : Node ${{ matrix.node }} test
18- steps :
19- - uses : actions/checkout@v2
20- - name : Setup node
21- uses : actions/setup-node@v2
22- with :
23- node-version : ${{ matrix.node }}
24- - run : npm ci
25- - run : npm test
11+ test :
12+ runs-on : ubuntu-latest
13+ timeout-minutes : 5
14+ strategy :
15+ matrix :
16+ node : ['18 ', '20 ', '22', '23' ]
17+ name : Node ${{ matrix.node }} test
18+ steps :
19+ - uses : actions/checkout@v2
20+ - name : Setup node
21+ uses : actions/setup-node@v2
22+ with :
23+ node-version : ${{ matrix.node }}
24+ - run : npm ci
25+ - run : npm test
2626
27- - name : Coveralls Parallel
28- uses : coverallsapp/github-action@master
29- with :
30- github-token : ${{ secrets.github_token }}
31- flag-name : run-${{ matrix.node }}
32- parallel : true
27+ - name : Coveralls Parallel
28+ uses : coverallsapp/github-action@master
29+ with :
30+ github-token : ${{ secrets.github_token }}
31+ flag-name : run-${{ matrix.node }}
32+ parallel : true
3333
34- finish :
35- name : Coveralls coverage
36- needs : test
37- runs-on : ubuntu-latest
38- steps :
39- - name : Coveralls Finished
40- uses : coverallsapp/github-action@master
41- with :
42- github-token : ${{ secrets.github_token }}
43- parallel-finished : true
34+ finish :
35+ name : Coveralls coverage
36+ needs : test
37+ runs-on : ubuntu-latest
38+ steps :
39+ - name : Coveralls Finished
40+ uses : coverallsapp/github-action@master
41+ with :
42+ github-token : ${{ secrets.github_token }}
43+ parallel-finished : true
0 commit comments