File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -62,16 +62,30 @@ jobs:
62
62
- name : Install Node.js ${{ matrix.node }}
63
63
uses : actions/setup-node@v1
64
64
with : { node-version: "${{ matrix.node }}" }
65
- - name : Install npm 6.x
66
- run : npm install --global npm@6.x
65
+ - name : Install Packages for Node v6
66
+ run : |
67
+ sudo npm i npm@6.x
68
+ ./node_modules/.bin/npm -v
69
+ ./node_modules/.bin/npm uninstall vuepress
70
+ ./node_modules/.bin/npm install
67
71
if : ${{ matrix.node == '6.x' || matrix.node == '6.5.0' }}
72
+ - name : Uninstall Packages for Node v8
73
+ run : |
74
+ npm uninstall vuepress
75
+ if : ${{ matrix.node == '8.x' }}
68
76
- name : Install Packages
69
77
run : npm install
78
+ if : ${{ matrix.node != '6.x' && matrix.node != '6.5.0' }}
79
+ - name : Install ESLint ${{ matrix.eslint }} for Node v6
80
+ run : ./node_modules/.bin/npm install --no-save eslint@${{ matrix.eslint }}
81
+ if : ${{ matrix.node == '6.x' || matrix.node == '6.5.0' }}
70
82
- name : Install ESLint ${{ matrix.eslint }}
71
83
run : npm install --no-save eslint@${{ matrix.eslint }}
84
+ if : ${{ matrix.node != '6.x' && matrix.node != '6.5.0' }}
72
85
- name : Test
73
86
run : npm run -s test:ci
74
87
- name : Send Coverage
75
88
run : npm run -s codecov
76
89
env :
77
90
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
91
+ if : ${{ matrix.node != '6.x' && matrix.node != '6.5.0' }}
You can’t perform that action at this time.
0 commit comments