55 name : Linters
66 runs-on : ubuntu-latest
77 steps :
8- - uses : actions/checkout@v1
9- - uses : actions/setup-node@v1
8+ - uses : actions/checkout@v3
9+ - uses : actions/setup-node@v3
10+ with :
11+ node-version : ' lts/*'
1012 - run : npm ci --ignore-scripts
1113 - run : npm run prettier:check
1214 - run : npm run lint:check
@@ -15,27 +17,29 @@ jobs:
1517 runs-on : ubuntu-latest
1618 strategy :
1719 matrix :
18- node-version : ['10.x ', '12.x', '14.x ']
20+ node-version : ['lts/* ', 'current ']
1921 fail-fast : false
2022 steps :
21- - uses : actions/checkout@v1
23+ - uses : actions/checkout@v3
2224 - name : Setting up Node.js (v${{ matrix.node-version }}.x)
23- uses : actions/setup-node@v1
25+ uses : actions/setup-node@v3
2426 with :
2527 node-version : ${{ matrix.node-version }}
2628 - run : npm ci --ignore-scripts
2729 - run : npm run test:ci
2830 - run : npm install codecov -g
29- if : ${{ matrix.node-version == '14.x ' }}
31+ if : ${{ matrix.node-version == 'current ' }}
3032 - run : codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }} --commit=$GITHUB_SHA --branch=${GITHUB_REF##*/}
31- if : ${{ matrix.node-version == '14.x ' }}
33+ if : ${{ matrix.node-version == 'current ' }}
3234 build :
3335 name : Build
3436 runs-on : ubuntu-latest
3537 steps :
36- - uses : actions/checkout@v1
37- - uses : actions/setup-node@v1
38+ - uses : actions/checkout@v3
39+ - uses : actions/setup-node@v3
40+ with :
41+ node-version : ' lts/*'
3842 - run : npm ci --ignore-scripts
3943 - run : npm run build:es2015
4044 - run : npm run build:cjs
41- - run : npm run build:types
45+ - run : npm run build:types
0 commit comments