Skip to content

Commit 8cd94ed

Browse files
ci: fix node@6
1 parent 94e4605 commit 8cd94ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,13 @@ jobs:
4646
node-version: ${{ matrix.node-version }}
4747
architecture: ${{ steps.calculate_architecture.outputs.result }}
4848
cache: npm
49+
# npm is fully broken for Node.js@6
50+
- name: Install old versions (optional)
51+
run: yarn
52+
if: matrix.node-version == '6.x'
4953
- name: Install dependencies
5054
run: npm install
51-
if: matrix.node-version == '6.x' || matrix.node-version == '8.x' || matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x'
55+
if: matrix.node-version == '8.x' || matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x'
5256
- name: Install dependencies
5357
run: npm ci
5458
if: matrix.node-version != '6.x' && matrix.node-version != '8.x' && matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x'

0 commit comments

Comments
 (0)