22
22
with :
23
23
fetch-depth : 0
24
24
- name : Commit Linter
25
- uses : wagoid/commitlint-github-action@v1.3.1
25
+ uses : wagoid/commitlint-github-action@v2
26
26
with :
27
27
configFile : ' ./package.json'
28
- env :
29
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
28
31
29
test-node :
32
30
name :
@@ -35,26 +33,22 @@ jobs:
35
33
strategy :
36
34
fail-fast : false
37
35
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]
39
37
eslint-version : [6, 7]
40
- exclude :
41
- # eslint@7 doesn't support node@8
42
- - node-version : 8.x
43
- eslint-version : 7
44
38
runs-on : ubuntu-latest
45
39
46
40
steps :
47
41
- uses : actions/checkout@v2
48
42
- name : Use Node.js ${{ matrix.node-version }}
49
- uses : actions/setup-node@v1
43
+ uses : actions/setup-node@v2-beta
50
44
with :
51
45
node-version : ${{ matrix.node-version }}
52
46
- name : install with eslint v${{matrix.eslint-version }}
53
47
run : |
54
48
npm ci
55
49
npm install -D eslint@${{matrix.eslint-version }}
56
- - name : prettylint
57
- run : npm run prettylint
50
+ - name : prettier
51
+ run : npm run prettier:check
58
52
- name : typecheck
59
53
run : npm run typecheck
60
54
- name : test
@@ -72,13 +66,13 @@ jobs:
72
66
73
67
steps :
74
68
- uses : actions/checkout@v2
75
- - uses : actions/setup-node@v1
69
+ - uses : actions/setup-node@v2-beta
76
70
with :
77
71
node-version : 12.x
78
72
- name : install
79
73
run : npm ci
80
- - name : prettylint
81
- run : npm run prettylint
74
+ - name : prettier
75
+ run : npm run prettier:check
82
76
- name : typecheck
83
77
run : npm run typecheck
84
78
- name : test
0 commit comments