[fluxgate-studio] admin service #8
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: Build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-api: | |
| name: Build Admin API | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build with Maven | |
| working-directory: fluxgate-studio-admin-api | |
| run: ./mvnw clean compile -DskipTests | |
| build-ui: | |
| name: Build UI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| working-directory: fluxgate-studio-ui-nextjs | |
| run: npm ci | |
| - name: Type check | |
| working-directory: fluxgate-studio-ui-nextjs | |
| run: npm run typecheck | |
| - name: Build | |
| working-directory: fluxgate-studio-ui-nextjs | |
| run: npm run build |