This repository was archived by the owner on Aug 17, 2025. It is now read-only.
- Added new tests #39
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: CI - Code Quality | |
| on: | |
| push: | |
| paths-ignore: | |
| - .github/workflows/ci.yml | |
| - .github/ISSUE_TEMPLATE/** | |
| - README.md | |
| - LICENSE | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "18" | |
| - name: Install pnpm | |
| run: npm install -g pnpm | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Run TypeScript Check | |
| run: npx tsc --noEmit | |
| - name: Run ESLint | |
| run: npx eslint 'src/**/*.{js,ts,jsx,tsx}' --max-warnings=0 | |
| - name: Run Prettier Check | |
| run: npx prettier --check 'src/**/*.{js,ts,jsx,tsx}' |