Skip to content

Commit cabc161

Browse files
committed
fix(ci): unblock gh-pages deploy under yarn
The deploy workflow uses yarn v1, which ignores npm's overrides field. Add a matching resolutions entry so yarn also pins webpack to ~5.100.0 and sidesteps the ProgressPlugin schema regression introduced in 5.101. While here, bump the deploy workflow actions (checkout/setup-node to v4) and pin Node to 20 — 'lts/*' on setup-node v3 was resolving to a too-new version in CI.
1 parent a30db66 commit cabc161

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616

1717
- name: Setup Node
18-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 'lts/*'
20+
node-version: '20'
2121

2222
- name: Build
2323
run: |

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,8 @@
4747
},
4848
"overrides": {
4949
"webpack": "~5.100.0"
50+
},
51+
"resolutions": {
52+
"webpack": "~5.100.0"
5053
}
5154
}

0 commit comments

Comments
 (0)