Skip to content
代码片段 群组 项目
未验证 提交 6e7e7ba1 编辑于 作者: Kev Kloss's avatar Kev Kloss 提交者: GitLab
浏览文件

Remove unnecessary Storybook yarn installs in CI

上级 c25ac290
No related branches found
No related tags found
无相关合并请求
...@@ -110,7 +110,7 @@ update-storybook-yarn-cache: ...@@ -110,7 +110,7 @@ update-storybook-yarn-cache:
- .shared:rules:update-cache - .shared:rules:update-cache
stage: prepare stage: prepare
script: script:
- yarn_install_script - yarn_install_script_storybook
retrieve-frontend-fixtures: retrieve-frontend-fixtures:
variables: variables:
...@@ -420,7 +420,7 @@ bundle-size-review: ...@@ -420,7 +420,7 @@ bundle-size-review:
- .frontend-test-base - .frontend-test-base
- .storybook-yarn-cache - .storybook-yarn-cache
script: script:
- run_timed_command "retry yarn run storybook:install --frozen-lockfile" - yarn_install_script_storybook
- run_timed_command "yarn run storybook:build" - run_timed_command "yarn run storybook:build"
needs: ["graphql-schema-dump"] needs: ["graphql-schema-dump"]
......
...@@ -122,9 +122,15 @@ function yarn_install_script() { ...@@ -122,9 +122,15 @@ function yarn_install_script() {
retry yarn install --frozen-lockfile retry yarn install --frozen-lockfile
section_end "yarn-install"
}
function yarn_install_script_storybook() {
section_start "yarn-install-storybook" "Installing Yarn packages for Storybook"
retry yarn storybook:install --frozen-lockfile retry yarn storybook:install --frozen-lockfile
section_end "yarn-install" section_end "yarn-install-storybook"
} }
function assets_compile_script() { function assets_compile_script() {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册