2222 with :
2323 fetch-depth : 0
2424 - name : Commit Linter
25- uses : wagoid/commitlint-github-action@v1.3.1
25+ uses : wagoid/commitlint-github-action@v2
2626 with :
2727 configFile : ' ./package.json'
28- env :
29- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3028
3129 test-node :
3230 name :
@@ -35,26 +33,22 @@ jobs:
3533 strategy :
3634 fail-fast : false
3735 matrix :
38- node-version : [8.x, 10.x, 12.x, 13.x, 14.x]
36+ node-version : [10.x, 12.x, 13.x, 14.x]
3937 eslint-version : [6, 7]
40- exclude :
41- # eslint@7 doesn't support node@8
42- - node-version : 8.x
43- eslint-version : 7
4438 runs-on : ubuntu-latest
4539
4640 steps :
4741 - uses : actions/checkout@v2
4842 - name : Use Node.js ${{ matrix.node-version }}
49- uses : actions/setup-node@v1
43+ uses : actions/setup-node@v2-beta
5044 with :
5145 node-version : ${{ matrix.node-version }}
5246 - name : install with eslint v${{matrix.eslint-version }}
5347 run : |
5448 npm ci
5549 npm install -D eslint@${{matrix.eslint-version }}
56- - name : prettylint
57- run : npm run prettylint
50+ - name : prettier
51+ run : npm run prettier:check
5852 - name : typecheck
5953 run : npm run typecheck
6054 - name : test
@@ -72,13 +66,13 @@ jobs:
7266
7367 steps :
7468 - uses : actions/checkout@v2
75- - uses : actions/setup-node@v1
69+ - uses : actions/setup-node@v2-beta
7670 with :
7771 node-version : 12.x
7872 - name : install
7973 run : npm ci
80- - name : prettylint
81- run : npm run prettylint
74+ - name : prettier
75+ run : npm run prettier:check
8276 - name : typecheck
8377 run : npm run typecheck
8478 - name : test
0 commit comments