Add more sources #29
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: Check Lint Format | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 26 | |
| - name: Setup PNPM | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| run_install: false | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Oxlint | |
| id: lint | |
| run: pnpm lint | |
| continue-on-error: true | |
| - name: Oxfmt Check | |
| id: fmt | |
| run: pnpm fmt:check | |
| continue-on-error: true | |
| - name: Type Check | |
| id: typecheck | |
| run: pnpm run typecheck | |
| continue-on-error: true | |
| - name: React Router Build | |
| id: build | |
| run: pnpm run build | |
| continue-on-error: true | |
| - name: Fail if any checks failed | |
| if: | | |
| always() && | |
| ( | |
| steps.lint.outcome == 'failure' || | |
| steps.fmt.outcome == 'failure' || | |
| steps.typecheck.outcome == 'failure' || | |
| steps.build.outcome == 'failure' | |
| ) | |
| run: | | |
| echo "One or more checks failed." | |
| exit 1 |