42
42
strategy :
43
43
matrix :
44
44
eslint : [7]
45
- node : [10, 12.0 .0, 12, 14.0 .0, 14, 16.0.0, 16, 18.0.0, 18]
45
+ node : [12.22 .0, 12, 14.17 .0, 14, 16.0.0, 16, 18.0.0, 18]
46
46
os : [ubuntu-latest]
47
47
include :
48
48
# On other platforms
62
62
- eslint : 4
63
63
node : 18
64
64
os : ubuntu-latest
65
- # On old Node.js versions
66
- - eslint : 6
67
- node : 8
68
- os : ubuntu-latest
69
- - eslint : 5
70
- node : 6
71
- os : ubuntu-latest
72
65
# On the minimum supported ESLint/Node.js version
73
66
- eslint : 4.19.1
74
- node : 6.5 .0
67
+ node : 12.22 .0
75
68
os : ubuntu-latest
76
69
runs-on : ${{ matrix.os }}
77
70
steps :
@@ -86,31 +79,11 @@ jobs:
86
79
with :
87
80
node-version : ${{ matrix.node }}
88
81
89
- # - name: 📥 Install dependencies
90
- # run: npm install
91
- - name : 📥 Install Packages for Node v6
92
- run : |
93
-
94
- ./node_modules/.bin/npm -v
95
- ./node_modules/.bin/npm uninstall vuepress
96
- ./node_modules/.bin/npm install
97
- if : ${{ matrix.node == '6.5.0' || matrix.node == '6' }}
98
- - name : 📥 Uninstall Packages for Node v8
99
- run : |
100
- npm uninstall vuepress
101
- if : ${{ matrix.node == '8.O.O' || matrix.node == '8' }}
102
- - name : 📥 Install Packages
82
+ - name : 📥 Install dependencies
103
83
run : npm install --legacy-peer-deps
104
- if : ${{ matrix.node != '6.5.0' && matrix.node != '6' }}
105
84
106
- # - name: 📥 Install ESLint v${{ matrix.eslint }}
107
- # run: npm install --save-dev eslint@${{ matrix.eslint }}
108
- - name : 📥 Install ESLint v${{ matrix.eslint }} for Node v6
109
- run : ./node_modules/.bin/npm install --save-dev eslint@${{ matrix.eslint }}
110
- if : ${{ matrix.node == '6.5.0' || matrix.node == '6' }}
111
85
- name : 📥 Install ESLint v${{ matrix.eslint }}
112
86
run : npm install --save-dev eslint@${{ matrix.eslint }}
113
- if : ${{ matrix.node != '6.5.0' && matrix.node != '6' }}
114
87
115
88
- name : ▶️ Run test script
116
89
run : npm run test
0 commit comments