11name : Tester
22
3- on : [push, pull_request]
3+ on : [ push, pull_request ]
44
55jobs :
66 tester :
77 runs-on : ${{ matrix.os }}
88 strategy :
99 matrix :
10- os : [ubuntu-latest, windows-latest, macos-latest]
11- node-version : ['14.x', '16.x', '18.x' ]
10+ os : [ ubuntu-latest, windows-latest, macos-latest ]
11+ node-version : [ '18','20','22' ]
1212 fail-fast : false
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515 - name : Use Node.js ${{ matrix.node-version }}
16- uses : actions/setup-node@v2
16+ uses : actions/setup-node@v4
1717 with :
1818 node-version : ${{ matrix.node-version }}
1919 - name : Install Dependencies
@@ -26,21 +26,19 @@ jobs:
2626 runs-on : ${{ matrix.os }}
2727 strategy :
2828 matrix :
29- os : [ubuntu-latest]
30- node-version : ['14.x' ]
29+ os : [ ubuntu-latest ]
30+ node-version : [ 'lts/*' ]
3131 steps :
32- - uses : actions/checkout@v2
32+ - uses : actions/checkout@v4
3333 - name : Use Node.js ${{ matrix.node-version }}
34- uses : actions/setup-node@v2
34+ uses : actions/setup-node@v4
3535 with :
3636 node-version : ${{ matrix.node-version }}
3737 - name : Install Dependencies
3838 run : npm install
3939 - name : Coverage
4040 run : npm run test-cov
41- env :
42- CI : true
4341 - name : Coveralls
44- uses : coverallsapp/github-action@master
42+ uses : coverallsapp/github-action@v2
4543 with :
4644 github-token : ${{ secrets.github_token }}
0 commit comments