-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Tim Arney <[email protected]> Co-authored-by: Paul Craig <[email protected]> Co-authored-by: James Eberhardt <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Clément JANIN <[email protected]> Co-authored-by: Dave Samojlenko <[email protected]> Co-authored-by: sre-read-write[bot] <92993749+sre-read-write[bot]@users.noreply.github.com> Co-authored-by: Tim Arney <[email protected]> Co-authored-by: Omar Nasr <[email protected]> Co-authored-by: Peter Thiessen <[email protected]> Co-authored-by: samsadasivan <[email protected]> Co-authored-by: Matt <[email protected]> Co-authored-by: Pete <[email protected]> Co-authored-by: Pat Heard <[email protected]>
- Loading branch information
1 parent
a3d07ef
commit 874b6c2
Showing
575 changed files
with
42,298 additions
and
13,511 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 |
---|---|---|
@@ -1,15 +1,25 @@ | ||
name: Build and Deploy Storybooks | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
# Ignore all files and folders that start with '.' | ||
- ".**" | ||
# Ignore all files and folder in fixtures, tests, utils, etc. | ||
- "__*/**" | ||
push: | ||
branches: [main] | ||
paths-ignore: | ||
# Ignore all files and folders that start with '.' | ||
- ".**" | ||
# Ignore all files and folder in fixtures, tests, utils, etc. | ||
- "__*/**" | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. | ||
uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. | ||
|
||
- name: Install 🔧 # This example project is built using yarn and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. | ||
run: yarn install | ||
|
@@ -23,7 +33,7 @@ jobs: | |
id: extract_branch | ||
|
||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
uses: JamesIves/github-pages-deploy-action@e80c869f0057899fc2cd28819b5bbe9de890524a # tag=3.6.2 | ||
with: | ||
TARGET_FOLDER: ${{ steps.extract_branch.outputs.branch }} | ||
BRANCH: gh-pages # The branch the action should deploy to. | ||
|
@@ -32,7 +42,7 @@ jobs: | |
|
||
- name: Find Comment | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: peter-evans/find-comment@v1 | ||
uses: peter-evans/find-comment@d2dae40ed151c634e4189471272b57e76ec19ba8 # v1.3.0 | ||
id: fc | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
|
@@ -43,7 +53,7 @@ jobs: | |
- name: Create or update comment # comment in pull request storybooks link | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: peter-evans/create-or-update-comment@v1 | ||
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5 | ||
with: | ||
comment-id: ${{ steps.fc.outputs.comment-id }} | ||
issue-number: ${{ github.event.pull_request.number }} | ||
|
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 |
---|---|---|
|
@@ -10,9 +10,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: github.event_name == 'push' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0 | ||
- name: Node.JS 16 | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # v2.5.1 | ||
with: | ||
node-version: 16 | ||
- name: Install Node Dependencies | ||
|
@@ -28,9 +28,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: github.event_name == 'pull_request' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0 | ||
- name: Node.JS 16 | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # v2.5.1 | ||
with: | ||
node-version: 16 | ||
- name: Install Node Dependencies | ||
|
@@ -48,13 +48,13 @@ jobs: | |
# Continue to the next step even if this fails | ||
continue-on-error: true | ||
- name: Annotate Code Linting Results | ||
uses: ataylorme/[email protected] | ||
uses: ataylorme/eslint-annotate-action@47568f60ae08ffa4d3b1bab645e21e9ae8266980 # tag=1.1.2 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
report-json: "eslint_report.json" | ||
continue-on-error: true | ||
- name: Upload ESLint report | ||
uses: actions/upload-artifact@v1 | ||
uses: actions/upload-artifact@3446296876d12d4e3a0f3145a3c87e67bf0a16b5 # tag=v1 | ||
with: | ||
name: eslint_report.json | ||
path: eslint_report.json |
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.