Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
4ee83ef
Remove any return type of getAbsolutePath
nzws Nov 7, 2025
cad8b37
Add Solid framework support to AddonVitestService and update skipTask…
valentinpalkovic Nov 19, 2025
d30eb1a
Cleanup
valentinpalkovic Nov 19, 2025
f5b2d24
Add tests for project type service and adjust error messaging
valentinpalkovic Nov 19, 2025
706cdf1
Remove debug log for features in run.ts
valentinpalkovic Nov 19, 2025
2f4c462
Refactor telemetry notification logging to use info level and remove …
valentinpalkovic Nov 19, 2025
6bd8e5d
Merge branch 'next' into valentin/add-solid-to-supported-frameworks-f…
valentinpalkovic Nov 19, 2025
8256700
Merge remote-tracking branch 'origin/next' into valentin/add-solid-to…
valentinpalkovic Nov 20, 2025
b4063d8
Remove solid-js sandbox and fix solid-ts sandbox generation
valentinpalkovic Nov 20, 2025
4757933
Revert
valentinpalkovic Nov 20, 2025
6c177a9
Merge remote-tracking branch 'origin/next' into valentin/add-solid-to…
valentinpalkovic Nov 20, 2025
e04215d
Merge remote-tracking branch 'origin/next' into valentin/add-solid-to…
valentinpalkovic Nov 21, 2025
d5bf6e9
Refactor CLI framework handling and improve template file copying logic
valentinpalkovic Nov 21, 2025
3117a6a
Fix typo
valentinpalkovic Nov 21, 2025
b7d2c74
Enhance component testing: Add error handling for modal interactions …
ndelangen Nov 21, 2025
024565e
Improve e2e component testing: Add handling for modal interactions to…
ndelangen Nov 25, 2025
e0292b7
Revert "Revert"
valentinpalkovic Nov 25, 2025
39026df
Merge remote-tracking branch 'origin/next' into valentin/add-solid-to…
valentinpalkovic Nov 25, 2025
a3c8dd1
Update CircleCI config
valentinpalkovic Nov 25, 2025
a1c1be0
Merge branch 'next' into norbert/add-debug-for-e2e
valentinpalkovic Nov 25, 2025
48a90ea
Fix CI config
valentinpalkovic Nov 25, 2025
a6d4931
Exclude solid from e2e tests
valentinpalkovic Nov 25, 2025
fd5ede7
Reduce parallelism for e2e-dev workflows in CircleCI configuration
valentinpalkovic Nov 25, 2025
43ff7fb
Update useChecklist to provide 'ready' state, disable ChecklistWidget…
ghengeveld Nov 26, 2025
6b777f4
Initialize after 1s in case PREVIEW_INITIALIZED never fires
ghengeveld Nov 26, 2025
8ee2b2b
Track collapsible state in sessionStorage
ghengeveld Nov 26, 2025
56da180
Merge branch 'next' into improve-checklist-widget-transitions
ghengeveld Nov 26, 2025
829d445
Docs: Add FAQ section for extensionless imports
valentinpalkovic Nov 27, 2025
a7c6398
Update deprecation message for extensionless imports with additional …
valentinpalkovic Nov 27, 2025
acd744a
UI: Fix excessive height in TabbedArgsTable
Sidnioulz Nov 27, 2025
250127b
Refactor root of yarn monorepo from code to the git root. And NX agen…
kasperpeulen Nov 18, 2025
ec6d354
Fix distribution config
kasperpeulen Nov 27, 2025
3b0a2d7
Fix pretty docs
kasperpeulen Nov 27, 2025
7733316
Fix check
kasperpeulen Nov 27, 2025
a69d9c1
Merge branch 'next' into norbert/add-debug-for-e2e
ndelangen Nov 27, 2025
7c93a23
expire early, and only try close when modal was opened
ndelangen Nov 27, 2025
69fbe0c
Clean up last things
kasperpeulen Nov 27, 2025
82bd4ea
Merge pull request #33205 from storybookjs/sidnioulz/issue-33196
valentinpalkovic Nov 27, 2025
b32bb30
Merge branch 'next' into norbert/add-debug-for-e2e
ndelangen Nov 27, 2025
fbc2af4
Make sure the settings.json is deleted before the onboarding test.
kasperpeulen Nov 27, 2025
ac61afb
Update scripts/run-registry.ts
kasperpeulen Nov 27, 2025
0a02926
Merge pull request #33084 from storybookjs/valentin/add-solid-to-supp…
valentinpalkovic Nov 28, 2025
f6604f0
Merge branch 'next-release' into next
storybook-bot Nov 28, 2025
ec1bd5d
Fix lint
kasperpeulen Nov 28, 2025
81a8497
Merge remote-tracking branch 'origin/kasper/yarn-monorepo-refactor' i…
kasperpeulen Nov 28, 2025
69106f4
Fix
kasperpeulen Nov 28, 2025
f35970d
Fix
kasperpeulen Nov 28, 2025
d82560c
Add click action to close modal in component testing spec
ndelangen Nov 28, 2025
d80cf75
Fix
kasperpeulen Nov 28, 2025
c31e808
Merge remote-tracking branch 'origin/next' into kasper/yarn-monorepo-…
kasperpeulen Nov 28, 2025
ae1ebf8
Fix
kasperpeulen Nov 28, 2025
f04dd28
Cleanup
kasperpeulen Nov 28, 2025
cd0d132
Fix how checklist changes are reported
ghengeveld Nov 28, 2025
d58d659
Make ports backwards compatible for local dev
kasperpeulen Nov 28, 2025
976e557
Drop some unnecessary checklist restrictions
ghengeveld Nov 28, 2025
4446340
Remove TODOs
kasperpeulen Nov 28, 2025
5dd20f9
Revert
kasperpeulen Nov 28, 2025
7c89c17
Fix
kasperpeulen Nov 28, 2025
6e6a31c
Fix
kasperpeulen Nov 28, 2025
4d12eaa
Add missing ariaLabel props
ghengeveld Nov 28, 2025
c96f4b1
Merge pull request #33217 from storybookjs/fix-checklist-telemetry
shilman Nov 28, 2025
c39b35d
Merge pull request #33202 from storybookjs/valentin/provide-faq-secti…
yannbf Nov 28, 2025
0461680
Prevent ugly default outline from showing up on tooltips and popovers…
ghengeveld Nov 28, 2025
02e22fa
Fix
kasperpeulen Nov 28, 2025
40cdf8b
Fix
kasperpeulen Nov 28, 2025
4e32302
Merge branch 'next' into norbert/add-debug-for-e2e
ndelangen Nov 28, 2025
39a4409
Fix
kasperpeulen Nov 28, 2025
b4b8b24
Fix
kasperpeulen Nov 28, 2025
729408e
Only move sandboxes to cache when NX is used
kasperpeulen Nov 28, 2025
b9a60d1
Fix build
kasperpeulen Nov 28, 2025
ef64cc3
Prevent error from happening in RN
ndelangen Nov 28, 2025
c7244fa
Fix
kasperpeulen Nov 28, 2025
73841fd
Fix
kasperpeulen Nov 28, 2025
a4f5eda
Fix
kasperpeulen Nov 28, 2025
587a980
Update CHANGELOG.md for v10.1.1 [skip ci]
storybook-bot Nov 28, 2025
a381c7d
Merge pull request #33194 from storybookjs/kasper/yarn-monorepo-refactor
kasperpeulen Nov 28, 2025
2c5725b
Fix
kasperpeulen Nov 28, 2025
59db01c
Merge branch 'next' into norbert/try-catch-for-rn
yannbf Nov 28, 2025
f7a6973
Fix
kasperpeulen Nov 28, 2025
4895eb4
Fix
kasperpeulen Nov 28, 2025
6c3615f
Fix windows and generate sandboxes
kasperpeulen Nov 28, 2025
901f201
Cleanup space in sandbox generation runner
yannbf Nov 28, 2025
d70f0e5
Apply fixes
yannbf Nov 27, 2025
801ff50
cleanup base dir when creating sandboxes
yannbf Nov 28, 2025
5aa41a0
fix angular sandbox prerelease
yannbf Nov 28, 2025
7bf53d5
REVERT THIS COMMIT
yannbf Nov 28, 2025
16c6db0
fix angular sandbox prerelease
yannbf Nov 28, 2025
c1a4c09
Merge branch 'kasper/circleci-merged' into yann/fix-sandbox-generation-2
yannbf Nov 28, 2025
8fdf007
Fix check deps
kasperpeulen Nov 28, 2025
4e6f331
Fix
kasperpeulen Nov 28, 2025
c5af483
Fix chromatic sandboxes
kasperpeulen Nov 28, 2025
7006a24
Don't store global yarn cache at the machine
kasperpeulen Nov 28, 2025
52304d7
Fix generate
kasperpeulen Nov 28, 2025
9edf36f
Test
kasperpeulen Nov 28, 2025
0abc530
Fix nx agents triggering
kasperpeulen Nov 28, 2025
95f4f8b
Merge pull request #33221 from storybookjs/kasper/circleci-merged
kasperpeulen Nov 28, 2025
3bb75c7
Revert
kasperpeulen Nov 28, 2025
3317632
Merge pull request #33225 from storybookjs/kasper/test
kasperpeulen Nov 28, 2025
3934953
Try without storybook init
kasperpeulen Nov 28, 2025
5fe9efa
Revert
kasperpeulen Nov 28, 2025
ae3de7c
Update CHANGELOG.md for v10.1.2 [skip ci]
storybook-bot Nov 28, 2025
81cbc11
Move back to yarn classic
kasperpeulen Nov 28, 2025
daded4a
Merge remote-tracking branch 'origin/next' into yann/fix-sandbox-gene…
kasperpeulen Nov 28, 2025
0fa4be1
Revert
kasperpeulen Nov 28, 2025
f0e9e52
Fix
kasperpeulen Nov 28, 2025
4b17f50
Test
kasperpeulen Nov 28, 2025
11bdbc3
Add new nx connection
kasperpeulen Nov 28, 2025
c93a306
init(telemetry): unify 'playwright-prompt' decisions (install|skip|ab…
valentinpalkovic Nov 28, 2025
013a3d9
Merge pull request #33227 from storybookjs/kasper/test2
kasperpeulen Nov 28, 2025
1bb3387
Merge remote-tracking branch 'origin/next' into valentin/add-init-ste…
valentinpalkovic Nov 28, 2025
40c2678
Merge pull request #33219 from storybookjs/norbert/try-catch-for-rn
yannbf Nov 29, 2025
bca48b4
Merge pull request #33223 from storybookjs/yann/fix-sandbox-generation-2
yannbf Nov 29, 2025
8db6c43
Merge pull request #33229 from storybookjs/valentin/add-init-step-pla…
valentinpalkovic Nov 29, 2025
c6ff2fb
Merge pull request #33218 from storybookjs/minor-ui-fixes
valentinpalkovic Nov 29, 2025
7a02bfa
Revert "REVERT THIS COMMIT"
yannbf Dec 1, 2025
1f0efb8
Merge pull request #33239 from storybookjs/yann/revert-sandbox-commit
yannbf Dec 1, 2025
8548e7b
Merge branch 'next' into improve-checklist-widget-transitions
ghengeveld Dec 1, 2025
968caaf
Merge pull request #33184 from storybookjs/improve-checklist-widget-t…
yannbf Dec 1, 2025
33cc93d
Merge pull request #33126 from storybookjs/norbert/add-debug-for-e2e
valentinpalkovic Dec 1, 2025
41c8082
Merge pull request #32977 from nzws/fix/remove-any-return-type
valentinpalkovic Dec 1, 2025
ad835d3
Write changelog for 10.2.0-alpha.2 [skip ci]
storybook-bot Dec 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
188 changes: 96 additions & 92 deletions .circleci/config.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .circleci/src/jobs/bench-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
# if there is a base branch AND a PR number in parameters, benchmark packages against those
# this happens when run against a PR
- when:
Expand Down Expand Up @@ -56,6 +56,6 @@ steps:
working_directory: scripts
command: yarn bench-packages --upload
- store_artifacts:
path: bench/packages/results.json
path: storybook/bench/packages/results.json
- report-workflow-on-failure
- cancel-workflow-on-failure
5 changes: 3 additions & 2 deletions .circleci/src/jobs/bench-sandboxes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Install sandbox dependencies
command: |
corepack enable
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task bench)
cd sandbox/$(yarn get-sandbox-dir --template $TEMPLATE) && yarn
cd $(yarn get-sandbox-dir --template $TEMPLATE) && yarn
- run:
name: Running Bench
command: yarn task --task bench --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task bench) --no-link --start-from=never --junit
Expand Down
34 changes: 18 additions & 16 deletions .circleci/src/jobs/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ steps:
- restore_cache:
name: Restore Yarn cache
keys:
- build-yarn-2-cache-v5--{{ checksum "code/yarn.lock" }}--{{ checksum "scripts/yarn.lock" }}
- build-yarn-2-cache-v5--{{ checksum "yarn.lock" }}
- run:
name: Compile
command: |
yarn
yarn task --task compile --start-from=auto --no-link --debug
git diff --exit-code
yarn dedupe --check
Expand All @@ -22,24 +23,25 @@ steps:
yarn local-registry --publish
- report-workflow-on-failure
- store_artifacts:
path: code/bench/esbuild-metafiles
path: storybook/code/bench/esbuild-metafiles
- save_cache:
name: Save Yarn cache
key: build-yarn-2-cache-v5--{{ checksum "code/yarn.lock" }}--{{ checksum "scripts/yarn.lock" }}
key: build-yarn-2-cache-v5--{{ checksum "yarn.lock" }}
paths:
- ~/.yarn/berry/cache
- persist_to_workspace:
root: .
root: /tmp
paths:
- code/node_modules
- code/addons
- scripts/node_modules
- code/bench
- code/examples
- code/frameworks
- code/lib
- code/core
- code/builders
- code/renderers
- code/presets
- .verdaccio-cache
- storybook/node_modules
- storybook/code/node_modules
- storybook/code/addons
- storybook/scripts/node_modules
- storybook/code/bench
- storybook/code/examples
- storybook/code/frameworks
- storybook/code/lib
- storybook/code/core
- storybook/code/builders
- storybook/code/renderers
- storybook/code/presets
- storybook/.verdaccio-cache
7 changes: 4 additions & 3 deletions .circleci/src/jobs/check-sandboxes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Install sandbox dependencies
command: |
corepack enable
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task check-sandbox)
cd sandbox/$(yarn get-sandbox-dir --template $TEMPLATE) && yarn
cd $(yarn get-sandbox-dir --template $TEMPLATE) && yarn
- run:
name: Type check Sandboxes
command: yarn task --task check-sandbox --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task check-sandbox) --no-link --start-from=never --junit
- report-workflow-on-failure:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task check-sandbox)
- store_test_results:
path: test-results
path: storybook/test-results
3 changes: 2 additions & 1 deletion .circleci/src/jobs/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ steps:
- restore_cache:
name: Restore Yarn cache
keys:
- build-yarn-2-cache-v5--{{ checksum "code/yarn.lock" }}--{{ checksum "scripts/yarn.lock" }}
- build-yarn-2-cache-v5--{{ checksum "yarn.lock" }}
- run:
name: Compile
command: |
yarn
yarn task --task compile --start-from=auto --no-link --debug
- run:
name: Check
Expand Down
4 changes: 2 additions & 2 deletions .circleci/src/jobs/chromatic-internal-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ steps:
# switched this to the CircleCI helper to get the full git history for TurboSnap
- checkout
- attach_workspace:
at: .
at: /tmp
- run:
name: Running Chromatic
command: yarn storybook:ui:chromatic
working_directory: code
- report-workflow-on-failure
- store_test_results:
path: test-results
path: storybook/test-results
11 changes: 7 additions & 4 deletions .circleci/src/jobs/chromatic-sandboxes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@ parallelism: << parameters.parallelism >>
steps:
- checkout
- attach_workspace:
at: .
at: /tmp
- run:
name: Install sandbox dependencies
# chromatic can only run in a git directory
command: |
corepack enable
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task chromatic)
cd sandbox/$(yarn get-sandbox-dir --template $TEMPLATE) && yarn
cd $(yarn get-sandbox-dir --template $TEMPLATE) && yarn
cp /tmp/storybook-sandboxes /tmp/storybook/sandbox -r --remove-destination
- run:
name: Running Chromatic
command: yarn task --task chromatic --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task chromatic) --no-link --start-from=never --junit
command: STORYBOOK_SANDBOX_ROOT=./sandbox yarn task --task chromatic --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task chromatic) --no-link --start-from=never --junit
- report-workflow-on-failure:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task chromatic)
- store_test_results:
path: test-results
path: storybook/test-results
2 changes: 1 addition & 1 deletion .circleci/src/jobs/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- codecov/upload
- report-workflow-on-failure
10 changes: 5 additions & 5 deletions .circleci/src/jobs/create-sandboxes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Setup Corepack
command: |
Expand All @@ -31,15 +31,15 @@ steps:
if [[ $TEMPLATE != bench/* ]]; then
yarn --cwd scripts jiti ./event-log-checker.ts build $TEMPLATE
fi
cd sandbox/$(yarn get-sandbox-dir --template $TEMPLATE) && rm -rf node_modules
cd $(yarn get-sandbox-dir --template $TEMPLATE) && rm -rf node_modules
environment:
STORYBOOK_TELEMETRY_DEBUG: 1
STORYBOOK_TELEMETRY_URL: 'http://localhost:6007/event-log'
- report-workflow-on-failure:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task sandbox)
- persist_to_workspace:
root: .
root: /tmp
paths:
- sandbox/**
storybook-sandboxes/**
- store_test_results:
path: test-results
path: storybook/test-results
9 changes: 5 additions & 4 deletions .circleci/src/jobs/e2e-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Install sandbox dependencies
command: |
corepack enable
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task e2e-tests-dev)
cd sandbox/$(yarn get-sandbox-dir --template $TEMPLATE) && yarn
cd $(yarn get-sandbox-dir --template $TEMPLATE) && yarn
- run:
name: Running E2E Tests
# TEST_FILES should include all relevant test files, in this case we use the default playwright pattern
Expand All @@ -29,7 +30,7 @@ steps:
- report-workflow-on-failure:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task e2e-tests-dev)
- store_test_results:
path: test-results
path: storybook/test-results
- store_artifacts: # this is where playwright puts more complex stuff
path: code/playwright-results/
path: storybook/code/playwright-results/
destination: playwright
9 changes: 5 additions & 4 deletions .circleci/src/jobs/e2e-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Install sandbox dependencies
command: |
corepack enable
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task e2e-tests)
cd sandbox/$(yarn get-sandbox-dir --template $TEMPLATE) && yarn
cd $(yarn get-sandbox-dir --template $TEMPLATE) && yarn
- run:
name: Running E2E Tests
# TEST_FILES should include all relevant test files, in this case we use the default playwright pattern
Expand All @@ -29,7 +30,7 @@ steps:
- report-workflow-on-failure:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task e2e-tests)
- store_test_results:
path: test-results
path: storybook/test-results
- store_artifacts: # this is where playwright puts more complex stuff
path: code/playwright-results/
path: storybook/code/playwright-results/
destination: playwright
6 changes: 3 additions & 3 deletions .circleci/src/jobs/e2e-ui-vitest-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Install dependencies
command: yarn install --no-immutable
Expand All @@ -18,8 +18,8 @@ steps:
command: yarn playwright-e2e
working_directory: test-storybooks/portable-stories-kitchen-sink/react-vitest-3
- store_test_results:
path: test-results
path: storybook/test-results
- store_artifacts:
path: test-storybooks/portable-stories-kitchen-sink/react-vitest-3/test-results/
path: storybook/test-storybooks/portable-stories-kitchen-sink/react-vitest-3/test-results/
destination: playwright
- report-workflow-on-failure
6 changes: 3 additions & 3 deletions .circleci/src/jobs/e2e-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Install dependencies
command: yarn install --no-immutable
Expand All @@ -18,8 +18,8 @@ steps:
command: yarn playwright-e2e
working_directory: test-storybooks/portable-stories-kitchen-sink/react
- store_test_results:
path: test-results
path: storybook/test-results
- store_artifacts:
path: test-storybooks/portable-stories-kitchen-sink/react/test-results/
path: storybook/test-storybooks/portable-stories-kitchen-sink/react/test-results/
destination: playwright
- report-workflow-on-failure
2 changes: 1 addition & 1 deletion .circleci/src/jobs/knip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Knip
command: |
Expand Down
2 changes: 1 addition & 1 deletion .circleci/src/jobs/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Lint
command: |
Expand Down
7 changes: 3 additions & 4 deletions .circleci/src/jobs/pretty-docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
executor:
class: medium
class: medium+
name: sb_node_22_classic

steps:
Expand All @@ -8,15 +8,14 @@ steps:
- restore_cache:
name: Restore Yarn cache
keys:
- prettydocs-yarn-2-cache-v8--{{ checksum "code/yarn.lock" }}--{{ checksum "scripts/yarn.lock" }}
- prettydocs-yarn-2-cache-v8--{{ checksum "yarn.lock" }}
- run:
name: Install
command: |
cd scripts
yarn install
- save_cache:
name: Save Yarn cache
key: prettydocs-yarn-2-cache-v8--{{ checksum "code/yarn.lock" }}--{{ checksum "scripts/yarn.lock" }}
key: prettydocs-yarn-2-cache-v8--{{ checksum "yarn.lock" }}
paths:
- ~/.yarn/berry/cache
- run:
Expand Down
4 changes: 2 additions & 2 deletions .circleci/src/jobs/script-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Check parallelism count
command: |
Expand All @@ -21,6 +21,6 @@ steps:
cd scripts
yarn test --coverage
- store_test_results:
path: scripts/junit.xml
path: storybook/scripts/junit.xml
- report-workflow-on-failure
- cancel-workflow-on-failure
4 changes: 2 additions & 2 deletions .circleci/src/jobs/smoke-test-sandboxes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
- attach_workspace:
at: .
at: /tmp
- run:
name: Smoke Testing Sandboxes
command: yarn task --task smoke-test --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task smoke-test) --no-link --start-from=never --junit
- report-workflow-on-failure:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task smoke-test)
- store_test_results:
path: test-results
path: storybook/test-results
4 changes: 2 additions & 2 deletions .circleci/src/jobs/stories-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ steps:
- git-shallow-clone/checkout_advanced:
clone_options: --depth 1 --verbose
- attach_workspace:
at: .
at: /tmp
- run:
command: |
cd code
TEST_FILES=$(circleci tests glob "**/*.{stories}.{ts,tsx,js,jsx,cjs}" | sed "/^e2e-tests\//d" | sed "/^node_modules\//d")
echo "$TEST_FILES" | circleci tests run --command="xargs yarn test --reporter=junit --reporter=default --outputFile=../test-results/junit-${CIRCLE_NODE_INDEX}.xml" --verbose
name: Run tests
- store_test_results:
path: test-results
path: storybook/test-results
- report-workflow-on-failure
- cancel-workflow-on-failure
Loading