From da1a24eb2df6948af48ad50633c13b71ec02cf04 Mon Sep 17 00:00:00 2001 From: petervanmanenritense <145462876+petervanmanenritense@users.noreply.github.com> Date: Mon, 19 Aug 2024 17:45:56 +0200 Subject: [PATCH 1/3] Update backend-build.yml --- .github/workflows/backend-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backend-build.yml b/.github/workflows/backend-build.yml index 2a3a450..bb964cc 100644 --- a/.github/workflows/backend-build.yml +++ b/.github/workflows/backend-build.yml @@ -5,7 +5,7 @@ # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle -name: Java CI with Gradle +name: Build backend on: push: @@ -35,6 +35,6 @@ jobs: - name: Build with Gradle Wrapper run: ./gradlew build - working-directory: backend + working-directory: plugin From 542bf89d082211531e52fa2c2e23097b0b186762 Mon Sep 17 00:00:00 2001 From: petervanmanenritense <145462876+petervanmanenritense@users.noreply.github.com> Date: Mon, 19 Aug 2024 18:20:51 +0200 Subject: [PATCH 2/3] Create frontend-build.yml --- .github/workflows/frontend-build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/frontend-build.yml diff --git a/.github/workflows/frontend-build.yml b/.github/workflows/frontend-build.yml new file mode 100644 index 0000000..a100b1d --- /dev/null +++ b/.github/workflows/frontend-build.yml @@ -0,0 +1,25 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Build frontend + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + - run: npm install + working-directory: /frontend/projects/valtimo/spotler + - run: npm run build + working-directory: /frontend/projects/valtimo/spotler + + From 0a3a1a23f4b6755793e206f3f50ef4cfa42fa13b Mon Sep 17 00:00:00 2001 From: petervanmanenritense <145462876+petervanmanenritense@users.noreply.github.com> Date: Mon, 19 Aug 2024 18:23:25 +0200 Subject: [PATCH 3/3] Update frontend-build.yml --- .github/workflows/frontend-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend-build.yml b/.github/workflows/frontend-build.yml index a100b1d..73c9d24 100644 --- a/.github/workflows/frontend-build.yml +++ b/.github/workflows/frontend-build.yml @@ -18,8 +18,8 @@ jobs: with: node-version: 18 - run: npm install - working-directory: /frontend/projects/valtimo/spotler + working-directory: frontend/projects/valtimo/spotler - run: npm run build - working-directory: /frontend/projects/valtimo/spotler + working-directory: frontend/projects/valtimo/spotler