Skip to content

Commit 018d0dd

Browse files
author
Marcin Mazurek
committed
[DDW-844] Move env variable to Chromatic GH actions step to ensure Netlify builds are not affected
1 parent 371bf60 commit 018d0dd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/chromatic.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
chromatic-deployment:
1010
runs-on: ubuntu-latest
11+
env:
12+
STORYBOOK_FREEZE_DATE: "true"
1113
steps:
1214
- uses: actions/checkout@v1
1315
- name: Setup Node.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"stylelint:fix": "yarn stylelint --fix",
4343
"manage:translations": "gulp purge:translations && gulp clear:cache && gulp build && ts-node ./translations/translation-runner.ts",
4444
"storybook": "start-storybook -p 6006 -c storybook --ci /",
45-
"storybook:build": "STORYBOOK_FREEZE_DATE=true build-storybook -c storybook -o dist/storybook",
45+
"storybook:build": "build-storybook -c storybook -o dist/storybook",
4646
"themes:check:createTheme": "gulp build:themes && ts-node -r esm ./dist/scripts/check.js",
4747
"themes:update": "gulp build:themes && ts-node -r esm ./dist/scripts/update.js && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts",
4848
"themes:copy": "ts-node -r @babel/register -r @babel/polyfill source/renderer/app/themes/utils/copyTheme.ts && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts",

0 commit comments

Comments
 (0)