Skip to content

Commit e52b769

Browse files
authored
Add option to build with Webpack Bundle Analyzer (#2708)
* Add option to build with webpack bundle analyzer * Bump npm to v7 as recommended in actions/setup-node#213 * Workaround for npm/cli#558 * Add missing dep
1 parent b1f166d commit e52b769

File tree

4 files changed

+501
-548
lines changed

4 files changed

+501
-548
lines changed

.github/workflows/pr_size_change.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ jobs:
2525
with:
2626
node-version: "14"
2727

28+
- name: Use npm v7
29+
run: sudo npm install -g npm@7.x.x
30+
2831
- name: Install JS dependencies
29-
run: npm ci
32+
# We need to use `npm install` here. If we don't, the workflow will fail.
33+
run: npm install
3034
working-directory: ./js
3135

3236
- name: Build production assets

0 commit comments

Comments
 (0)