Skip to content

Commit 798a0c0

Browse files
committed
ci: add workaround for Node.js legacy versions
1 parent 31b9ab8 commit 798a0c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727

28+
- name: Install specific npm version for Node.js 6 and 7
29+
if: matrix.node-version == 6 || matrix.node-version == 7
30+
run: npm install -g npm@6
31+
2832
- name: Install dependencies
2933
run: npm install
3034

0 commit comments

Comments
 (0)