mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +02:00
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
This commit is contained in:
6
.github/workflows/pr_size_change.yml
vendored
6
.github/workflows/pr_size_change.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user