This repository was archived by the owner on Dec 12, 2025. It is now read-only.
feat: Add GitHub Actions workflow for linting and TypeScript checks #1
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: Lint and Type Check | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| lint-and-tsc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: ./API | |
| - name: Run ESLint | |
| run: npx eslint . | |
| working-directory: ./API | |
| - name: Run TypeScript compiler | |
| run: npx tsc --noEmit | |
| working-directory: ./API |