You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: code/lib/cli-storybook/src/sandbox-templates.ts
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,11 @@ export type Template = {
96
96
editAddons?: (addons: string[])=>string[];
97
97
useCsfFactory?: boolean;
98
98
};
99
+
/** Additional CI steps in case this template has special needs during CI. */
100
+
extraCiSteps?: {
101
+
// 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.
102
+
ensureMinNodeVersion?: boolean;
103
+
};
99
104
/** Additional options to pass to the initiate command when initializing Storybook. */
// this is for our CI test, ensure we use the same version as docker image, it should match version specified in `./code/package.json` and `.circleci/config.yml`
0 commit comments