Unverified Commit 954d8e99 authored by Tasso Evangelista's avatar Tasso Evangelista Committed by GitHub
Browse files

chore: Fix Storybook test and build (#199)

parent ca4dd0ef
......@@ -26,13 +26,12 @@ jobs:
- image: chinello/alpine-chrome:with-node
working_directory: ~/repo
environment:
NODE_ENV: loki
CHROME_PATH: /usr/bin/chromium-browser
steps:
- checkout
- run: yarn
- run: yarn lerna run build --stream
- run: yarn lerna run build-storybook --scope @rocket.chat/fuselage --stream
- run: yarn lerna run build-storybook:loki --scope @rocket.chat/fuselage --stream
- run:
command: |
cat package.json | sed s/\.docker/.app/ > package.json-new
......
......@@ -34,6 +34,7 @@
"loki:update": "loki update --chromeDockerImage=chinello/alpine-chrome:latest --chromeFlags=\"--headless --no-sandbox --disable-gpu --disable-features=VizDisplayCompositor\" --verboseRenderer --requireReference --reactUri file:./storybook-static",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"build-storybook:loki": "cross-env NODE_ENV=loki build-storybook",
"update-storybook": "cross-env NODE_ENV=loki run-s build-storybook loki:update"
},
"peerDependencies": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment