1
0
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:
David Wheatley
2021-04-10 15:00:48 +01:00
committed by GitHub
parent b1f166d82a
commit e52b769ceb
4 changed files with 501 additions and 548 deletions

View File

@@ -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