Repository navigation
chore(deps): bump lucide-react from 0.577.0 to 1.6.0 in /frontend #143
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, master] | |
| paths: | |
| - 'backend/**' | |
| - 'frontend/**' | |
| - '.github/workflows/**' | |
| - 'docker-compose.yml' | |
| - '.editorconfig' | |
| - '.gitattributes' | |
| - '.gitignore' | |
| pull_request: | |
| branches: [main, master] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| changes: | |
| name: Detect changed areas | |
| runs-on: ubuntu-latest | |
| outputs: | |
| backend: ${{ steps.filter.outputs.backend }} | |
| frontend: ${{ steps.filter.outputs.frontend }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - id: filter | |
| uses: dorny/paths-filter@v3 | |
| with: | |
| filters: | | |
| backend: | |
| - 'backend/**' | |
| - '.github/workflows/**' | |
| - 'docker-compose.yml' | |
| frontend: | |
| - 'frontend/**' | |
| - '.github/workflows/**' | |
| backend: | |
| name: Backend - test and package | |
| needs: changes | |
| if: needs.changes.outputs.backend == 'true' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '17' | |
| cache: maven | |
| - name: Run tests | |
| run: mvn -B -f backend/pom.xml test | |
| - name: Verify package | |
| run: mvn -B -f backend/pom.xml package -DskipTests | |
| frontend: | |
| name: Frontend - lint and build | |
| needs: changes | |
| if: needs.changes.outputs.frontend == 'true' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: npm | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install dependencies | |
| run: npm --prefix frontend ci | |
| - name: Lint | |
| run: npm --prefix frontend run lint | |
| - name: Build | |
| run: npm --prefix frontend run build |