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