-
Notifications
You must be signed in to change notification settings - Fork 1
ci(frontend): add react-doctor check for landing site #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7382823
0703547
9d33710
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: React Doctor | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - "frontend/src/landing/**" | ||
| - ".github/workflows/react-doctor.yml" | ||
| pull_request: | ||
| paths: | ||
| - "frontend/src/landing/**" | ||
| - ".github/workflows/react-doctor.yml" | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| statuses: write | ||
|
|
||
| jobs: | ||
| doctor: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| # Composite action: installs react-doctor itself, runs the scan against | ||
| # the landing site, posts a sticky PR summary + inline review comments, | ||
| # and publishes a commit status. Default blocking=error means only | ||
| # error-severity findings fail the job; warnings are reported but don't | ||
| # block. | ||
| - uses: millionco/react-doctor@v2 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| with: | ||
| directory: frontend/src/landing | ||
Uh oh!
There was an error while loading. Please reload this page.