diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7797452..0ee073f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,15 @@ jobs: packages: write steps: - uses: actions/checkout@v4 + + - name: Build frontend + run: npm run build + with: + path: ./frontend + + - name: Move built frontend to maven + run: mv frontend/out server/target/classes/static + - name: Build and push Docker image run: | tag=ghcr.io/opetushallitus/koto-rekisteri:$GITHUB_SHA