@@ -13,13 +13,11 @@ jobs:
1313    runs-on : ubuntu-latest 
1414    steps :
1515    - name : Checkout 
16-       uses : actions/checkout@v1 
17-       with :
18-         fetch-depth : 1 
16+       uses : actions/checkout@v2 
1917    - name : Install Node.js 
2018      uses : actions/setup-node@v1 
2119      with :
22-         node-version : 12 
20+         node-version : 14 
2321    - name : Install Packages 
2422      run : npm install 
2523    - name : Lint 
@@ -29,35 +27,50 @@ jobs:
2927    name : Test 
3028    strategy :
3129      matrix :
32-         node : [12, 10, 8, 6] 
33-         eslint : [6, 5] 
34-         exclude :
35-         #  ESLint 6 doesn't support Node 6.
36-         - node : 6 
37-           eslint : 6 
38-         #  Run ESLint 5 on only the newest and oldest Node.
39-         - node : 10 
40-           eslint : 5 
41-         - node : 8 
42-           eslint : 5 
43-     runs-on : ubuntu-latest 
30+         os : [ubuntu-latest] 
31+         eslint : [7] 
32+         node : [14] 
33+         include :
34+           #  On other platforms
35+           - eslint : 7 
36+             node : 14 
37+             os : windows-latest 
38+           - eslint : 7 
39+             node : 14 
40+             os : macos-latest 
41+           #  On old Node.js versions
42+           - eslint : 7 
43+             node : 12 
44+             os : ubuntu-latest 
45+           - eslint : 7 
46+             node : 10 
47+             os : ubuntu-latest 
48+           #  On old ESLint versions
49+           - eslint : 6 
50+             node : 14 
51+             os : ubuntu-latest 
52+           - eslint : 5 
53+             node : 14 
54+             os : ubuntu-latest 
55+           #  On the minimum supported ESLint/Node.js version
56+           - eslint : 5 
57+             node : 6.14 
58+             os : ubuntu-latest 
59+     runs-on : ${{ matrix.os }} 
4460    steps :
4561    - name : Checkout 
46-       uses : actions/checkout@v1 
47-       with :
48-         fetch-depth : 1 
62+       uses : actions/checkout@v2 
4963    - name : Install Node.js v${{ matrix.node }} 
5064      uses : actions/setup-node@v1 
5165      with :
5266        node-version : ${{ matrix.node }} 
67+     - name : Install npm@^6.0.0 
68+       if : ${{ matrix.node >= 6 && matrix.node < 7 }} 
69+       run : npm install --global npm@^6.0.0 
5370    - name : Install Packages 
54-       run : | 
55-         if [ ${{ matrix.node }} -eq 6 ]; then 
56-           npm install --global npm@^6.0.0 
57-         fi 
58-         npm install 
59- name : Install ESLint v${{ matrix.eslint }} 
60-       run : npm install --no-save eslint@^${{ matrix.eslint }}.0.0 
71+       run : npm install 
72+     - name : Install ESLint ${{ matrix.eslint }} 
73+       run : npm install --no-save eslint@${{ matrix.eslint }} 
6174    - name : Build 
6275      run : npm run -s build 
6376    - name : Test 
0 commit comments