refactor: rename core/service to core/domain #122
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: 🧪 PR Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint-type-test: | |
| name: 🧪 Lint + Type Check + Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Type Check | |
| run: npm run type-check | |
| - name: Lint | |
| run: npm run lint | |
| - name: Format Check | |
| run: npm run format:check | |
| - name: Run Tests | |
| run: npm run test:coverage | |
| - name: Security audit (prod only) | |
| run: npm run audit:prod | |
| - name: Security audit (all deps, non-blocking) | |
| run: npm run audit || true | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 |