-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28815 from storybookjs/version-non-patch-from-8.3…
….0-alpha.4
- Loading branch information
Showing
1,880 changed files
with
20,897 additions
and
6,492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ parameters: | |
default: "next" | ||
|
||
executors: | ||
sb_node_18_classic: | ||
sb_node_22_classic: | ||
parameters: | ||
class: | ||
description: The Resource class | ||
|
@@ -25,7 +25,7 @@ executors: | |
default: "small" | ||
working_directory: /tmp/storybook | ||
docker: | ||
- image: cimg/node:18.19.1 | ||
- image: cimg/node:22.6.0 | ||
environment: | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
resource_class: <<parameters.class>> | ||
|
@@ -38,7 +38,20 @@ executors: | |
default: "small" | ||
working_directory: /tmp/storybook | ||
docker: | ||
- image: cimg/node:18.19.1-browsers | ||
- image: cimg/node:18.20.3-browsers | ||
environment: | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
resource_class: <<parameters.class>> | ||
sb_node_22_browsers: | ||
parameters: | ||
class: | ||
description: The Resource class | ||
type: enum | ||
enum: ["small", "medium", "medium+", "large", "xlarge"] | ||
default: "small" | ||
working_directory: /tmp/storybook | ||
docker: | ||
- image: cimg/node:22.6.0-browsers | ||
environment: | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
resource_class: <<parameters.class>> | ||
|
@@ -74,7 +87,6 @@ orbs: | |
browser-tools: circleci/[email protected] | ||
discord: antonioned/[email protected] | ||
codecov: codecov/[email protected] | ||
bun-orb: cmgriffing/[email protected] | ||
node: circleci/[email protected] | ||
nx: nrwl/[email protected] | ||
|
||
|
@@ -109,7 +121,7 @@ jobs: | |
pretty-docs: | ||
executor: | ||
class: medium | ||
name: sb_node_18_classic | ||
name: sb_node_22_classic | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
|
@@ -135,12 +147,10 @@ jobs: | |
build: | ||
executor: | ||
class: xlarge | ||
name: sb_node_18_classic | ||
name: sb_node_22_classic | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
- bun-orb/setup: | ||
version: 1.1.1 | ||
- restore_cache: | ||
name: Restore Yarn cache | ||
keys: | ||
|
@@ -182,7 +192,7 @@ jobs: | |
lint: | ||
executor: | ||
class: large | ||
name: sb_node_18_classic | ||
name: sb_node_22_classic | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
|
@@ -198,12 +208,10 @@ jobs: | |
check: | ||
executor: | ||
class: xlarge | ||
name: sb_node_18_classic | ||
name: sb_node_22_classic | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
- bun-orb/setup: | ||
version: 1.1.1 | ||
- attach_workspace: | ||
at: . | ||
- nx/set-shas: | ||
|
@@ -218,7 +226,7 @@ jobs: | |
- report-workflow-on-failure | ||
- cancel-workflow-on-failure | ||
script-checks: | ||
executor: sb_node_18_browsers | ||
executor: sb_node_22_browsers | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
|
@@ -238,15 +246,15 @@ jobs: | |
name: Run tests | ||
command: | | ||
cd scripts | ||
yarn test --coverage | ||
yarn test --coverage --coverage.all=false | ||
- store_test_results: | ||
path: scripts/junit.xml | ||
- report-workflow-on-failure | ||
- cancel-workflow-on-failure | ||
unit-tests: | ||
executor: | ||
class: xlarge | ||
name: sb_node_18_browsers | ||
name: sb_node_22_browsers | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
|
@@ -256,7 +264,7 @@ jobs: | |
name: Test | ||
command: | | ||
cd code | ||
yarn test --coverage | ||
yarn test --coverage --coverage.all=false | ||
- store_test_results: | ||
path: code/junit.xml | ||
- persist_to_workspace: | ||
|
@@ -268,7 +276,7 @@ jobs: | |
coverage: | ||
executor: | ||
class: small | ||
name: sb_node_18_browsers | ||
name: sb_node_22_browsers | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
|
@@ -279,7 +287,7 @@ jobs: | |
chromatic-internal-storybook: | ||
executor: | ||
class: medium+ | ||
name: sb_node_18_browsers | ||
name: sb_node_22_browsers | ||
environment: | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
steps: | ||
|
@@ -301,7 +309,7 @@ jobs: | |
type: integer | ||
executor: | ||
class: medium | ||
name: sb_node_18_browsers | ||
name: sb_node_22_browsers | ||
parallelism: << parameters.parallelism >> | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
|
@@ -348,18 +356,16 @@ jobs: | |
type: integer | ||
executor: | ||
class: large | ||
name: sb_node_18_browsers | ||
name: sb_node_22_browsers | ||
parallelism: << parameters.parallelism >> | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
- bun-orb/setup: | ||
version: 1.1.1 | ||
- attach_workspace: | ||
at: . | ||
- run: | ||
name: Starting Event Collector | ||
command: node --loader esbuild-register/loader -r esbuild-register ./event-log-collector.ts | ||
command: yarn jiti ./event-log-collector.ts | ||
working_directory: scripts | ||
background: true | ||
- run: | ||
|
@@ -373,7 +379,7 @@ jobs: | |
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task build) | ||
if [[ $TEMPLATE != bench/* ]] | ||
then | ||
node --loader esbuild-register/loader -r esbuild-register ./event-log-checker.ts build $TEMPLATE | ||
yarn jiti ./event-log-checker.ts build $TEMPLATE | ||
fi | ||
working_directory: scripts | ||
- report-workflow-on-failure: | ||
|
@@ -431,7 +437,7 @@ jobs: | |
type: integer | ||
executor: | ||
class: medium | ||
name: sb_node_18_browsers | ||
name: sb_node_22_browsers | ||
parallelism: << parameters.parallelism >> | ||
steps: | ||
- checkout | ||
|
@@ -514,7 +520,7 @@ jobs: | |
test-empty-init: | ||
executor: | ||
class: medium | ||
name: sb_node_18_browsers | ||
name: sb_node_22_browsers | ||
parameters: | ||
packageManager: | ||
type: string | ||
|
@@ -602,6 +608,23 @@ jobs: | |
IN_STORYBOOK_SANDBOX: true | ||
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >> | ||
STORYBOOK_DISABLE_TELEMETRY: true | ||
- when: | ||
condition: | ||
equal: ["react-vite-ts", << parameters.template >>] | ||
steps: | ||
- run: | ||
name: Storybook init from empty directory (--skip-install) | ||
command: | | ||
cd code | ||
yarn local-registry --open & | ||
cd ../../ | ||
mkdir empty-<< parameters.template >>-no-install | ||
cd empty-<< parameters.template >>-no-install | ||
npx storybook init --yes --skip-install | ||
environment: | ||
IN_STORYBOOK_SANDBOX: true | ||
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >> | ||
STORYBOOK_DISABLE_TELEMETRY: true | ||
- report-workflow-on-failure | ||
test-portable-stories: | ||
parameters: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18.19.1 | ||
22.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.