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 diff --git a/.github/workflows/frontend-build.yml b/.github/workflows/frontend-build.yml new file mode 100644 index 0000000..73c9d24 --- /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 + +