the AI fix functionality added successfully #20
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 | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. Checkout repository | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # 2. Set up Node.js 20 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: "npm" | |
| # 3. Install dependencies | |
| - name: Install dependencies | |
| run: npm install | |
| # 4. Run ESLint | |
| - name: Lint | |
| run: npm run lint | |
| # 5. Run tests | |
| # - name: Test | |
| # env: | |
| # CI: true | |
| # run: npm run test -- --passWithNoTests |