Skip to content

Commit 893db09

Browse files
committed
ci: build i18n before deploying storybook
1 parent eb36865 commit 893db09

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,19 @@ jobs:
1414
- uses: actions/checkout@v2
1515
with:
1616
persist-credentials: false
17-
17+
1818
- name: Setup Node.js environment
1919
uses: actions/[email protected]
2020
with:
2121
node-version: 12.x
22-
22+
env:
23+
UI5_WEBCOMPONENTS_FOR_REACT_RELEASE_BUILD: true
24+
2325
- name: Install and Build
2426
run: |
2527
yarn install
2628
yarn build:storybook
27-
29+
2830
- name: Deploy 🚀
2931
uses: JamesIves/github-pages-deploy-action@releases/v3
3032
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"start": "lerna run build:i18n && start-storybook -p 6006 -c .storybook",
99
"build": "yarn clean && lerna run build --stream && node ./scripts/rollup/build.js",
10-
"build:storybook": "build-storybook -c .storybook -o .out",
10+
"build:storybook": "lerna run build:i18n && build-storybook -c .storybook -o .out",
1111
"pretest": "node scripts/test/clean.js && lerna run build:i18n",
1212
"test": "jest --config=config/jest.config.js --coverage",
1313
"clean": "lerna run clean --stream && rimraf coverage",

0 commit comments

Comments
 (0)