feat: Error boundary component #19587
Workflow file for this run
This file contains hidden or 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
| name: Build, lint and test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| merge_group: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| id-token: write | |
| actions: read | |
| contents: read | |
| security-events: write | |
| deployments: write | |
| jobs: | |
| build: | |
| name: build${{ matrix.react != 16 && format(' (React {0})', matrix.react) || '' }} | |
| strategy: | |
| matrix: | |
| react: [16, 18] | |
| uses: cloudscape-design/actions/.github/workflows/build-lint-test.yml@main | |
| secrets: inherit | |
| with: | |
| artifact-path: pages/lib/static-default | |
| artifact-name: dev-pages-react${{ matrix.react }} | |
| react-version: ${{ matrix.react }} | |
| deploy: | |
| needs: build | |
| name: deploy${{ matrix.react != 16 && format(' (React {0})', matrix.react) || '' }} | |
| # skip this job for external contributions as they aren't supported and cause the job's failure | |
| if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} | |
| strategy: | |
| matrix: | |
| react: [16, 18] | |
| uses: cloudscape-design/actions/.github/workflows/deploy.yml@main | |
| secrets: inherit | |
| with: | |
| artifact-name: dev-pages-react${{ matrix.react }} | |
| deployment-path: pages/lib/static-default |