mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-01 05:05:25 +08:00
ADD a step in circleci to upload storybook for angular (#8477)
ADD a step in circleci to upload storybook for angular
This commit is contained in:
commit
a64df49e86
@ -47,8 +47,12 @@ jobs:
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- run:
|
||||
name: Run chromatic on the pre-built storybook
|
||||
command: yarn chromatic
|
||||
name: Run chromatic on the pre-built official example
|
||||
command: yarn chromatic --storybook-build-dir="built-storybooks/official-storybook" --exit-zero-on-changes --app-code="ab7m45tp9p"
|
||||
- run:
|
||||
name: Run chromatic on the pre-built angular example
|
||||
command: yarn chromatic --storybook-build-dir="built-storybooks/angular-cli" --exit-zero-on-changes --app-code="tl92yzsj6w"
|
||||
|
||||
packtracker:
|
||||
<<: *defaults
|
||||
steps:
|
||||
|
@ -5,7 +5,7 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "ng build",
|
||||
"prebuild-storybook": "npm run storybook:prebuild && cd ../.. && yarn add node-sass -W -s && cd examples/angular-cli",
|
||||
"prebuild-storybook": "npm run storybook:prebuild",
|
||||
"build-storybook": "build-storybook -s src/assets",
|
||||
"e2e": "ng e2e",
|
||||
"ng": "ng",
|
||||
|
@ -47,7 +47,6 @@
|
||||
"build-storybooks": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true ./scripts/build-storybooks.js",
|
||||
"changelog": "pr-log --sloppy --cherry-pick",
|
||||
"changelog:next": "pr-log --sloppy --since-prerelease",
|
||||
"chromatic": "chromatic --storybook-build-dir=\"built-storybooks/official-storybook\" --exit-zero-on-changes --app-code=\"ab7m45tp9p\"",
|
||||
"coverage": "codecov",
|
||||
"danger": "danger",
|
||||
"dev": "concurrently --kill-others \"yarn dev:tsc\" \"yarn dev:babel\"",
|
||||
|
Loading…
x
Reference in New Issue
Block a user