Issue 98: add ErrorPage component (#3900) #20050
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
# Chromatic action from https://www.chromatic.com/docs/github-actions | |
name: "chromatic" | |
on: | |
pull_request: | |
types: | |
- ready_for_review | |
- synchronize | |
branches-ignore: | |
- changeset-release/main | |
push: | |
branches: | |
- "main" | |
jobs: | |
visual-testing: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
- name: Build Storybook | |
run: | | |
yarn storybook:build --webpack-stats-json | |
- name: Publish to Chromatic | |
uses: chromaui/action@v1 | |
with: | |
token: ${{ github.token }} | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
storybookBuildDir: "./storybook/public" | |
onlyChanged: "!(main)" | |
externals: | | |
[ | |
"**/!(*.module).scss", | |
"packages/button/src/Button/*.scss", | |
"packages/component-library/components/Spacing/Base.module.scss" | |
] | |
autoAcceptChanges: main # 👈 Auto accept main builds (why https://www.chromatic.com/docs/github-actions#github-squashrebase-merge-and-the-main-branch) |