Skip to content

Commit e75732a

Browse files
authored
Merge pull request #12307 from Automattic/vkarpov15/fix-5x-build
Fix 5.x build issues
2 parents 99b4189 + a1144dc commit e75732a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/test.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ jobs:
1818
with:
1919
node-version: ${{ matrix.node }}
2020

21-
- name: Upgrade Node 5 npm
21+
- name: Upgrade Node <= 5 npm
2222
run: npm install -g npm@3
23-
if: ${{ matrix.node == 5 }}
23+
if: ${{ matrix.node <= 5 }}
24+
25+
- name: Upgrade Node 7 npm
26+
run: npm install -g npm@6
27+
if: ${{ matrix.node == 7 }}
2428

2529
- run: npm install
2630

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@babel/preset-env": "7.10.4",
4040
"@typescript-eslint/eslint-plugin": "4.10.0",
4141
"@typescript-eslint/parser": "4.10.0",
42+
"@types/node": "16.11.23",
4243
"acquit": "1.x",
4344
"acquit-ignore": "0.1.x",
4445
"acquit-require": "0.1.x",

0 commit comments

Comments
 (0)