Set NODE_ENV=PRODUCTION for snap UI builds

Bug #1865841 reported by Kit Randel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Adam Collard

Bug Description

The NODE_ENV environment variable should be set to PRODUCTION to avoid installing dev dependencies (this should correct the cypress issue with building on arm) when running `yarn install`.

Related branches

Kit Randel (blr)
Changed in maas:
importance: Undecided → High
status: New → Triaged
description: updated
Kit Randel (blr)
summary: - Set NODE_ENV for snap UI builds
+ Set NODE_ENV=PRODUCTION for snap UI builds
Changed in maas:
assignee: nobody → Adam Collard (adam-collard)
milestone: none → 2.8.0b1
Changed in maas:
status: Triaged → Fix Committed
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.