Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
690e551
add windows testing in CI
yannbf Nov 7, 2025
9de2ae4
WIP attempt
yannbf Nov 7, 2025
c1c3059
fix(core): calculate dynamic CWD for story globbing
ia319 Nov 8, 2025
f877698
Replace npm-auth-to-token with internal implementation for verdaccio
yannbf Nov 10, 2025
2b878b8
Merge branch 'yann/test-init-on-windows' of github.com:storybookjs/st…
yannbf Nov 10, 2025
15238d5
Merge branch 'next' into yann/test-init-on-windows
yannbf Nov 10, 2025
1729c00
Use node 22 on Windows tests
yannbf Nov 10, 2025
8e1a06a
fix
yannbf Nov 10, 2025
f10c83c
fix attempt
yannbf Nov 10, 2025
eb26ae4
fix
yannbf Nov 10, 2025
3c292c7
skip discord orb on Windows for now
yannbf Nov 11, 2025
b1d3714
move workflow to daily/merged
yannbf Nov 11, 2025
d0e6be4
fix(core): Normalize glob CWD for Windows compatibility
ia319 Nov 11, 2025
dac2fd7
make further updates
yannbf Nov 11, 2025
6a5efe8
Merge branch 'next' into yann/test-init-on-windows
yannbf Nov 11, 2025
38c3552
Merge branch 'next' into yann/test-init-on-windows
yannbf Nov 11, 2025
e08ee7a
Merge pull request #32982 from storybookjs/yann/test-init-on-windows
yannbf Nov 11, 2025
f509959
Update CHANGELOG.md for v10.0.7 [skip ci]
storybook-bot Nov 11, 2025
2bc062f
Merge branch 'next-release' into next
storybook-bot Nov 11, 2025
a66766e
Merge branch 'next' into bug/32835-correct-glob-working-directory
ndelangen Nov 12, 2025
c464c38
Refactor StoryIndexGenerator: Replace 'path' import with 'resolve' fo…
ndelangen Nov 12, 2025
9c3a8f7
Merge pull request #32990 from ia319/bug/32835-correct-glob-working-d…
ndelangen Nov 12, 2025
06aa2a7
Write changelog for 10.1.0-alpha.9 [skip ci]
storybook-bot Nov 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 167 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ jobs:
- when:
condition:
equal:
- yarn1
- yarn2
- << parameters.packageManager >>
steps:
- run:
Expand All @@ -685,13 +685,140 @@ jobs:
cd ..
mkdir empty-<< parameters.template >>
cd empty-<< parameters.template >>
npx storybook init --yes --package-manager yarn1
yarn set version berry
yarn config set registry http://localhost:6001
yarn dlx storybook init --yes --package-manager yarn2
yarn storybook --smoke-test
environment:
IN_STORYBOOK_SANDBOX: true
STORYBOOK_DISABLE_TELEMETRY: true
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
name: Storybook init from empty directory (Yarn 1)
name: Storybook init from empty directory (Yarn 2)
- when:
condition:
equal:
- pnpm
- << parameters.packageManager >>
steps:
- run:
background: true
command: |
cd code
yarn local-registry --open
name: Verdaccio
- run:
command: |
cd code
yarn wait-on tcp:127.0.0.1:6001
yarn wait-on tcp:127.0.0.1:6002
name: Wait on Verdaccio
- run:
command: |
cd ..
mkdir empty-<< parameters.template >>
cd empty-<< parameters.template >>
npm i -g pnpm
pnpm config set registry http://localhost:6001
pnpm dlx storybook init --yes --package-manager pnpm
pnpm run storybook --smoke-test
environment:
IN_STORYBOOK_SANDBOX: true
STORYBOOK_DISABLE_TELEMETRY: true
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
name: Storybook init from empty directory (PNPM)
- when:
condition:
equal:
- react-vite-ts
- << parameters.template >>
steps:
- run:
background: true
command: |
cd code
yarn local-registry --open
name: Verdaccio
- run:
command: |
cd code
yarn wait-on tcp:127.0.0.1:6001
yarn wait-on tcp:127.0.0.1:6002
name: Wait on Verdaccio
- run:
command: |
cd ..
mkdir empty-<< parameters.template >>-no-install
cd empty-<< parameters.template >>-no-install
npx storybook init --yes --skip-install
npm install
npm run build-storybook
environment:
IN_STORYBOOK_SANDBOX: true
STORYBOOK_DISABLE_TELEMETRY: true
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
name: Storybook init from empty directory (--skip-install)
- report-workflow-on-failure
test-init-empty-windows:
executor: win/default
parameters:
packageManager:
type: string
template:
type: string
steps:
- checkout
- attach_workspace:
at: .
- run:
command: |
choco install nodejs-lts --version=22.11.0 -y
corepack enable
name: Setup Node & Yarn on Windows
shell: bash.exe
- run:
command: yarn install
name: Install code dependencies
shell: bash.exe
working_directory: code
- run:
command: yarn install
name: Install script dependencies
shell: bash.exe
working_directory: scripts
- when:
condition:
equal:
- npm
- << parameters.packageManager >>
steps:
- run:
background: true
command: |
cd code
yarn local-registry --open
name: Verdaccio
shell: bash.exe
- run:
command: |
cd code
yarn wait-on tcp:127.0.0.1:6001
yarn wait-on tcp:127.0.0.1:6002
name: Wait on Verdaccio
shell: bash.exe
- run:
command: |
cd ..
mkdir empty-<< parameters.template >>
cd empty-<< parameters.template >>
npm set registry http://localhost:6001
npx storybook init --yes --package-manager npm
npm run storybook -- --smoke-test
environment:
IN_STORYBOOK_SANDBOX: true
STORYBOOK_DISABLE_TELEMETRY: true
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
name: Storybook init from empty directory (Windows NPM)
shell: bash.exe
- when:
condition:
equal:
Expand All @@ -704,12 +831,14 @@ jobs:
cd code
yarn local-registry --open
name: Verdaccio
shell: bash.exe
- run:
command: |
cd code
yarn wait-on tcp:127.0.0.1:6001
yarn wait-on tcp:127.0.0.1:6002
name: Wait on Verdaccio
shell: bash.exe
- run:
command: |
cd ..
Expand All @@ -723,7 +852,8 @@ jobs:
IN_STORYBOOK_SANDBOX: true
STORYBOOK_DISABLE_TELEMETRY: true
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
name: Storybook init from empty directory (Yarn 2)
name: Storybook init from empty directory (Windows Yarn 2)
shell: bash.exe
- when:
condition:
equal:
Expand All @@ -736,12 +866,14 @@ jobs:
cd code
yarn local-registry --open
name: Verdaccio
shell: bash.exe
- run:
command: |
cd code
yarn wait-on tcp:127.0.0.1:6001
yarn wait-on tcp:127.0.0.1:6002
name: Wait on Verdaccio
shell: bash.exe
- run:
command: |
cd ..
Expand All @@ -755,7 +887,8 @@ jobs:
IN_STORYBOOK_SANDBOX: true
STORYBOOK_DISABLE_TELEMETRY: true
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
name: Storybook init from empty directory (PNPM)
name: Storybook init from empty directory (Windows PNPM)
shell: bash.exe
- when:
condition:
equal:
Expand All @@ -768,12 +901,14 @@ jobs:
cd code
yarn local-registry --open
name: Verdaccio
shell: bash.exe
- run:
command: |
cd code
yarn wait-on tcp:127.0.0.1:6001
yarn wait-on tcp:127.0.0.1:6002
name: Wait on Verdaccio
shell: bash.exe
- run:
command: |
cd ..
Expand All @@ -786,8 +921,8 @@ jobs:
IN_STORYBOOK_SANDBOX: true
STORYBOOK_DISABLE_TELEMETRY: true
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
name: Storybook init from empty directory (--skip-install)
- report-workflow-on-failure
name: Storybook init from empty directory (Windows --skip-install)
shell: bash.exe
test-init-features:
executor:
class: small
Expand Down Expand Up @@ -988,6 +1123,7 @@ orbs:
git-shallow-clone: guitarrapc/git-shallow-clone@2.5.0
node: circleci/node@5.2.0
nx: nrwl/nx@1.6.2
win: circleci/windows@5.0.0
parameters:
ghBaseBranch:
default: next
Expand Down Expand Up @@ -1097,6 +1233,18 @@ workflows:
- lit-vite-ts
requires:
- build
- test-init-empty-windows:
matrix:
parameters:
packageManager:
- npm
template:
- react-vite-ts
- nextjs-ts
- vue-vite-ts
- lit-vite-ts
requires:
- build
when:
equal:
- daily
Expand Down Expand Up @@ -1187,6 +1335,18 @@ workflows:
- test-init-features:
requires:
- build
- test-init-empty-windows:
matrix:
parameters:
packageManager:
- npm
template:
- react-vite-ts
- nextjs-ts
- vue-vite-ts
- lit-vite-ts
requires:
- build
when:
equal:
- merged
Expand Down
2 changes: 2 additions & 0 deletions .circleci/src/@orbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ orbs:
node: circleci/node@5.2.0
# Monorepo build optimization
nx: nrwl/nx@1.6.2
# Windows support
win: circleci/windows@5.0.0
Loading