chore: run optional install in the storybook directory

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-01-18 16:19:56 +01:00
committed by Patrik Oldsberg
parent 4560581d0d
commit bfa059b765
2 changed files with 7 additions and 3 deletions
+3
View File
@@ -34,6 +34,9 @@ jobs:
- name: microsite yarn install
run: yarn install --frozen-lockfile
working-directory: microsite
- name: storybook yarn install
run: yarn install --frozen-lockfile
working-directory: storybook
- name: build API reference
run: yarn build:api-docs
+4 -3
View File
@@ -47,8 +47,9 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
- name: storybook yarn install
run: yarn install --frozen-lockfile
working-directory: storybook
# End of yarn setup
- run: yarn build-storybook
@@ -59,5 +60,5 @@ jobs:
# projetToken intentionally shared to allow collaborators to run Chromatic on forks
# https://www.chromatic.com/docs/custom-ci-provider#run-chromatic-on-external-forks-of-open-source-projects
projectToken: 9tzak77m9nj
workingDir: 'packages/storybook'
storybookBuildDir: 'dist'
workingDir: storybook
storybookBuildDir: dist