fix: Remove unused NavLink import in reset password page #325
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 - Unit Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| - 'feat-*' | |
| paths: | |
| - 'backend/**' | |
| - 'frontend/**' | |
| - '.github/workflows/ci-unit-tests.yaml' | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| paths: | |
| - 'backend/**' | |
| - 'frontend/**' | |
| - '.github/workflows/**' | |
| workflow_dispatch: | |
| jobs: | |
| backend-unit-testing: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| service: ["api-service","ai-service","notification-service"] | |
| defaults: | |
| run: | |
| working-directory: ./backend | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Java 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Cache Maven dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2 | |
| key: ${{ runner.os }}-m2-${{ hashFiles('backend/pom.xml') }} | |
| restore-keys: ${{ runner.os }}-m2 | |
| - name: Run unit tests for API Service | |
| run: mvn test -pl ./${{ matrix.service }} -am -Dgroups=unit | |
| env: | |
| CI: true | |
| JWT_SECRET: ${{ secrets.JWT_SECRET }} | |
| POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} | |
| frontend-unit-testing: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./frontend | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm run test -- --watch=false |