Skip to content

Commit

Permalink
Merge pull request #12307 from Automattic/vkarpov15/fix-5x-build
Browse files Browse the repository at this point in the history
Fix 5.x build issues
  • Loading branch information
vkarpov15 authored Aug 22, 2022
2 parents 99b4189 + a1144dc commit e75732a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Upgrade Node 5 npm
- name: Upgrade Node <= 5 npm
run: npm install -g npm@3
if: ${{ matrix.node == 5 }}
if: ${{ matrix.node <= 5 }}

- name: Upgrade Node 7 npm
run: npm install -g npm@6
if: ${{ matrix.node == 7 }}

- run: npm install

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@babel/preset-env": "7.10.4",
"@typescript-eslint/eslint-plugin": "4.10.0",
"@typescript-eslint/parser": "4.10.0",
"@types/node": "16.11.23",
"acquit": "1.x",
"acquit-ignore": "0.1.x",
"acquit-require": "0.1.x",
Expand Down

0 comments on commit e75732a

Please sign in to comment.