-
-
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 branch 'next' into direct-logs-to-stdout
- Loading branch information
Showing
1,000 changed files
with
4,513 additions
and
29,090 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 |
---|---|---|
|
@@ -10,7 +10,7 @@ executors: | |
default: 'medium' | ||
working_directory: /tmp/storybook | ||
docker: | ||
- image: cimg/node:14.19 | ||
- image: cimg/node:16.17.1 | ||
environment: | ||
NODE_OPTIONS: --max_old_space_size=3076 | ||
resource_class: <<parameters.class>> | ||
|
@@ -23,7 +23,7 @@ executors: | |
default: 'medium' | ||
working_directory: /tmp/storybook | ||
docker: | ||
- image: cimg/node:14.19-browsers | ||
- image: cimg/node:16.17.1-browsers | ||
environment: | ||
NODE_OPTIONS: --max_old_space_size=3076 | ||
resource_class: <<parameters.class>> | ||
|
@@ -75,6 +75,22 @@ commands: | |
fi | ||
jobs: | ||
check: | ||
executor: | ||
class: xlarge | ||
name: sb_node_14_classic | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: '--depth 1 --verbose' | ||
- restore_cache: | ||
name: Restore Yarn cache | ||
keys: | ||
- build-yarn-2-cache-v4--{{ checksum "code/yarn.lock" }}--{{ checksum "scripts/yarn.lock" }} | ||
- run: | ||
name: Compile | ||
command: | | ||
yarn task --task check --start-from=auto --no-link --debug | ||
git diff --exit-code | ||
build: | ||
executor: | ||
class: xlarge | ||
|
@@ -106,6 +122,7 @@ jobs: | |
- code/addons | ||
- code/frameworks | ||
- code/lib | ||
- code/ui | ||
- code/renderers | ||
- code/presets | ||
chromatic: | ||
|
@@ -125,7 +142,7 @@ jobs: | |
executor: | ||
class: medium+ | ||
name: sb_node_14_browsers | ||
parallelism: 12 | ||
parallelism: 4 | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: '--depth 1 --verbose' | ||
|
@@ -207,16 +224,16 @@ jobs: | |
name: set up cra repro, skip tests | ||
command: | | ||
cd code | ||
node ./lib/cli/bin/index.js repro -t cra --e2e ../cra-bench | ||
node ./lib/cli/bin/index.js repro -t cra --e2e ../../cra-bench | ||
- run: | ||
name: Run @storybook/bench on repro | ||
command: | | ||
cd ./cra-bench | ||
cd ../cra-bench | ||
npx -p @storybook/[email protected] sb-bench 'echo noop' --label cra | ||
- run: | ||
name: prep artifacts | ||
when: always | ||
command: tar cvzf /tmp/sb-bench.tar.gz ./cra-bench | ||
command: tar cvzf /tmp/sb-bench.tar.gz ../cra-bench | ||
- store_artifacts: | ||
path: /tmp/sb-bench.tar.gz | ||
destination: sb-bench.tar.gz | ||
|
@@ -305,7 +322,7 @@ jobs: | |
executor: | ||
class: medium+ | ||
name: sb_node_14_browsers | ||
parallelism: 15 | ||
parallelism: 20 | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: '--depth 1 --verbose' | ||
|
@@ -324,7 +341,7 @@ jobs: | |
executor: | ||
class: medium+ | ||
name: sb_node_14_browsers | ||
parallelism: 14 | ||
parallelism: 15 | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: '--depth 1 --verbose' | ||
|
@@ -339,7 +356,7 @@ jobs: | |
executor: | ||
class: medium+ | ||
name: sb_node_14_browsers | ||
parallelism: 15 | ||
parallelism: 20 | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: '--depth 1 --verbose' | ||
|
@@ -358,7 +375,7 @@ jobs: | |
executor: | ||
class: medium+ | ||
name: sb_node_14_browsers | ||
parallelism: 15 | ||
parallelism: 18 | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: '--depth 1 --verbose' | ||
|
@@ -373,7 +390,7 @@ jobs: | |
executor: | ||
class: medium+ | ||
name: sb_node_14_browsers | ||
parallelism: 15 | ||
parallelism: 20 | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: '--depth 1 --verbose' | ||
|
@@ -388,7 +405,7 @@ jobs: | |
executor: | ||
class: medium+ | ||
name: sb_playwright | ||
parallelism: 15 | ||
parallelism: 20 | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: '--depth 1 --verbose' | ||
|
@@ -410,6 +427,9 @@ workflows: | |
- lint: | ||
requires: | ||
- build | ||
- check: | ||
requires: | ||
- build | ||
- examples: | ||
requires: | ||
- build | ||
|
@@ -439,9 +459,9 @@ workflows: | |
- create-sandboxes: | ||
requires: | ||
- publish | ||
- smoke-test-sandboxes: | ||
requires: | ||
- create-sandboxes | ||
# - smoke-test-sandboxes: # disabled for now | ||
# requires: | ||
# - create-sandboxes | ||
- build-sandboxes: | ||
requires: | ||
- create-sandboxes | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -10,8 +10,8 @@ jobs: | |
steps: | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- uses: actions/checkout@master | ||
node-version: '16' | ||
- uses: actions/checkout@v3 | ||
- name: Danger JS | ||
uses: danger/[email protected] | ||
env: | ||
|
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 |
---|---|---|
|
@@ -8,8 +8,6 @@ on: | |
push: | ||
branches: | ||
- vite-frameworks-xyz | ||
- norbert/sb-524-webpack5react18ts | ||
- norbert/sb-525-webpack5react17js | ||
|
||
jobs: | ||
generate: | ||
|
@@ -19,17 +17,16 @@ jobs: | |
steps: | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
- uses: actions/checkout@v2 | ||
node-version: 16 | ||
- uses: actions/checkout@v3 | ||
- name: Setup git user | ||
run: | | ||
git config --global user.name "Storybook Bot" | ||
git config --global user.email "[email protected]" | ||
- name: Install dependencies | ||
run: node ./scripts/check-dependencies.js | ||
- name: Bootstrap Storybook libraries | ||
run: yarn task --task compile --start-from=auto --no-link | ||
working-directory: ./code | ||
- name: Compile Storybook libraries | ||
run: yarn task --task publish --start-from=auto --no-link | ||
- name: Generate repros | ||
run: yarn generate-repros-next --local-registry | ||
working-directory: ./code | ||
|
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,3 +1,4 @@ | ||
{ | ||
"deepscan.enable": true | ||
"deepscan.enable": true, | ||
"typescript.tsdk": "./code/node_modules/typescript/lib" | ||
} |
File renamed without changes.
File renamed without changes.
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,3 +1,4 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.2.3.cjs | ||
installStatePath: "./.yarn/root-install-state.gz" |
Oops, something went wrong.