Skip to content

Commit

Permalink
Add option to build with Webpack Bundle Analyzer (#2708)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
davwheat committed Apr 10, 2021
1 parent b1f166d commit e52b769
Show file tree
Hide file tree
Showing 4 changed files with 501 additions and 548 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/pr_size_change.yml
Expand Up @@ -25,8 +25,12 @@ jobs:
with:
node-version: "14"

- name: Use npm v7
run: sudo npm install -g npm@7.x.x

- name: Install JS dependencies
run: npm ci
# We need to use `npm install` here. If we don't, the workflow will fail.
run: npm install
working-directory: ./js

- name: Build production assets
Expand Down

0 comments on commit e52b769

Please sign in to comment.