-
-
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 norbert/fix-mention-next-in-cli
- Loading branch information
Showing
350 changed files
with
59,544 additions
and
1,755 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 |
---|---|---|
|
@@ -47,6 +47,19 @@ executors: | |
environment: | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
resource_class: <<parameters.class>> | ||
sb_playwright_component_testing: | ||
parameters: | ||
class: | ||
description: The Resource class | ||
type: enum | ||
enum: ["small", "medium", "medium+", "large", "xlarge"] | ||
default: "small" | ||
working_directory: /tmp/storybook | ||
docker: | ||
- image: mcr.microsoft.com/playwright:v1.42.1-jammy | ||
environment: | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
resource_class: <<parameters.class>> | ||
|
||
orbs: | ||
git-shallow-clone: guitarrapc/[email protected] | ||
|
@@ -565,7 +578,39 @@ jobs: | |
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >> | ||
STORYBOOK_DISABLE_TELEMETRY: true | ||
- report-workflow-on-failure | ||
|
||
test-portable-stories: | ||
parameters: | ||
directory: | ||
type: string | ||
executor: | ||
name: sb_playwright_component_testing | ||
class: medium | ||
steps: | ||
- git-shallow-clone/checkout_advanced: | ||
clone_options: "--depth 1 --verbose" | ||
- attach_workspace: | ||
at: . | ||
- run: | ||
name: Install dependencies | ||
command: yarn install | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- run: | ||
name: Run Jest tests | ||
command: yarn jest | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- run: | ||
name: Run Vitest tests | ||
command: yarn vitest | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- run: | ||
name: Run Playwright CT tests | ||
command: yarn playwright | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- run: | ||
name: Run Cypress CT tests | ||
command: yarn cypress | ||
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >> | ||
- report-workflow-on-failure | ||
workflows: | ||
docs: | ||
when: | ||
|
@@ -624,6 +669,12 @@ workflows: | |
parallelism: 5 | ||
requires: | ||
- build-sandboxes | ||
- test-portable-stories: | ||
requires: | ||
- build | ||
matrix: | ||
parameters: | ||
directory: ["react", "vue3", "nextjs", "svelte"] | ||
# TODO: reenable once we find out the source of flakyness | ||
# - test-runner-dev: | ||
# requires: | ||
|
@@ -676,6 +727,12 @@ workflows: | |
parallelism: 14 | ||
requires: | ||
- build-sandboxes | ||
- test-portable-stories: | ||
requires: | ||
- build | ||
matrix: | ||
parameters: | ||
directory: ["react", "vue3", "nextjs", "svelte"] | ||
- bench: | ||
parallelism: 5 | ||
requires: | ||
|
@@ -733,7 +790,12 @@ workflows: | |
parallelism: 30 | ||
requires: | ||
- build-sandboxes | ||
|
||
- test-portable-stories: | ||
requires: | ||
- build | ||
matrix: | ||
parameters: | ||
directory: ["react", "vue3", "nextjs", "svelte"] | ||
- test-empty-init: | ||
requires: | ||
- build | ||
|
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 |
---|---|---|
|
@@ -21,10 +21,10 @@ jobs: | |
name: Danger JS | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
node-version-file: ".nvmrc" | ||
- 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
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,18 +1,18 @@ | ||
name: 'Close stale issues that need reproduction or more info from OP' | ||
name: "Close stale issues that need reproduction or more info from OP" | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
- uses: actions/stale@v9 | ||
with: | ||
stale-issue-message: "Hi there! Thank you for opening this issue, but it has been marked as `stale` because we need more information to move forward. Could you please provide us with the requested reproduction or additional information that could help us better understand the problem? We'd love to resolve this issue, but we can't do it without your help!" | ||
close-issue-message: "I'm afraid we need to close this issue for now, since we can't take any action without the requested reproduction or additional information. But please don't hesitate to open a new issue if the problem persists – we're always happy to help. Thanks so much for your understanding." | ||
any-of-labels: 'needs reproduction,needs more info' | ||
exempt-issue-labels: 'needs triage' | ||
labels-to-add-when-unstale: 'needs triage' | ||
any-of-labels: "needs reproduction,needs more info" | ||
exempt-issue-labels: "needs triage" | ||
labels-to-add-when-unstale: "needs triage" | ||
days-before-stale: 21 | ||
days-before-pr-stale: -1 |
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.