Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/nx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
});
- uses: actions/setup-node@v4
with:
node-version: 22
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- uses: nrwl/nx-set-shas@v4
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
22.22.1
22.22.3

2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This file is the canonical instruction source for coding agents. Files like `CLA
Storybook is a large TypeScript monorepo. The git root is the repo root, the main code lives in `code/`, and build tooling lives in `scripts/`. The default branch is `next`.

- **Base branch**: `next` (all PRs should target `next`, not `main`)
- **Node.js**: `22.22.1` (see `.nvmrc`) — supports `.ts` natively via type stripping (no loader needed)
- **Node.js**: `22.12+` (see `.nvmrc`) — supports `.ts` natively via type stripping (no loader needed)
- **Package Manager**: Yarn Berry
- **Task orchestration**: NX plus the custom `yarn task` runner
- **CI environment**: Linux and Windows
Expand Down
2 changes: 1 addition & 1 deletion code/lib/cli-storybook/src/sandbox-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export type Template = {
};
/** Additional CI steps in case this template has special needs during CI. */
extraCiSteps?: {
// Some sandboxes (e.g. Angular) rely on Node 22.22.1 as minimum supported version and threfore it needs enforcing, even if the CI image comes with a different node version.
// Some sandboxes (e.g. Angular) rely on Node 22.22.3 as minimum supported version and threfore it needs enforcing, even if the CI image comes with a different node version.
ensureMinNodeVersion?: boolean;
};
/** Additional options to pass to the initiate command when initializing Storybook. */
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/sandboxes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ function getSandboxSetupSteps(template: string) {
extraSteps.push({
'node/install': {
'install-yarn': true,
// Currently using Node 22.22.1 as minimum supported version for Angular sandboxes
'node-version': '22.22.1',
// Currently using Node 22.22.3 as minimum supported version for Angular sandboxes
'node-version': '22.22.3',
},
});
}
Expand Down
Loading