-
-
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 fix/auto-title-dotted-component
- Loading branch information
Showing
567 changed files
with
6,533 additions
and
5,107 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
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 | ||
with: | ||
node-version: '16' | ||
- uses: actions/checkout@v3 | ||
node-version-file: '.nvmrc' | ||
- name: Danger JS | ||
uses: danger/[email protected] | ||
env: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Generate and push sandboxes (main) | ||
name: Generate and push sandboxes | ||
|
||
on: | ||
schedule: | ||
|
@@ -10,48 +10,74 @@ on: | |
# branches: | ||
# - <your-branch-name> | ||
# 2. change the "ref" value to <your-branch-name> in the actions/checkout step below. | ||
# 3. 👉 DON'T FORGET TO UNDO THE VALUES BACK TO `main` BEFORE YOU MERGE YOUR CHANGES! | ||
# 3. 👉 DON'T FORGET TO UNDO THE VALUES BACK BEFORE YOU MERGE YOUR CHANGES! | ||
|
||
jobs: | ||
generate: | ||
runs-on: ubuntu-latest | ||
env: | ||
YARN_ENABLE_IMMUTABLE_INSTALLS: false | ||
CLEANUP_SANDBOX_NODE_MODULES: true | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node_version: | ||
- 16 | ||
- 18 | ||
branch: | ||
- main | ||
- next | ||
include: | ||
- node_version: 16 | ||
# space-delimited list of templates | ||
exclude: 'angular-cli/prerelease' | ||
- node_version: 18 | ||
# space-delimited list of templates | ||
templates: 'angular-cli/prerelease' | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
node-version: ${{ matrix.node_version }} | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
ref: main | ||
ref: ${{ matrix.branch }} | ||
|
||
- 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: Compile Storybook libraries | ||
run: yarn task --task compile --start-from=auto --no-link | ||
|
||
- name: Publishing to local registry | ||
run: yarn local-registry --publish | ||
working-directory: ./code | ||
|
||
- name: Running local registry | ||
run: yarn local-registry --open & | ||
working-directory: ./code | ||
|
||
- name: Wait for registry | ||
run: yarn wait-on http://localhost:6001 | ||
working-directory: ./code | ||
|
||
- name: Generate | ||
run: yarn generate-sandboxes --local-registry | ||
run: yarn generate-sandboxes --local-registry --templates ${{matrix.templates}} --exclude ${{matrix.exclude}} | ||
working-directory: ./code | ||
|
||
- name: Publish | ||
run: yarn publish-sandboxes --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/sandboxes.git --push --branch=main | ||
run: yarn publish-sandboxes --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/sandboxes.git --push --branch=${{ matrix.branch }} | ||
working-directory: ./code | ||
|
||
- name: The job has failed | ||
if: ${{ failure() || cancelled() }} | ||
env: | ||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_MONITORING_URL }} | ||
uses: Ilshidur/action-discord@master | ||
with: | ||
args: 'The generation of sandboxes in the **main** branch has failed. [View Run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})' | ||
args: 'The generation of sandboxes with Node version **${{ matrix.node_version }}** in the **${{ matrix.branch }}** branch has failed. [View Run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})' |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
16.20 |
Oops, something went wrong.