Add build and publish steps #3

Merged
chimeudeonwop merged 53 commits from feature/setup-workflow-pipeline into main 2025-11-04 18:20:11 +00:00
4 changed files with 210 additions and 1 deletions
Showing only changes of commit 7ac437e714 - Show all commits

View File

@ -61,8 +61,13 @@ jobs:
git clone --quiet "$CLONE_URL_WITH_AUTH" .
echo "${{ gitea.repository }} cloned successfully."
#Check frontend linting
- name: Check frontend linting
working-directory: ./frontend
run: yarn lint
# Install frontend dependencies and run tests
- name: Install frontend dependencies and run tests
- name: Install dependencies, run tests and build frontend
#uses: actions/cache@v3
working-directory: ./frontend
with:
@ -77,16 +82,9 @@ jobs:
yarn build
#yarn test --watchAll=false --ci
#Check frontend linting
- name: Check frontend linting
working-directory: ./frontend
run: yarn lint
backend-jobs:
name: Set up Java for Backend Tests and Build
runs-on: ubuntu-latest
#container:
#image: eclipse-temurin:21-jdk
steps:
- name: Checkout repository
@ -153,6 +151,4 @@ jobs:
working-directory: .
run:
mvn clean test -Dspring.profiles.active=test
- name: Done
run: echo "Workflow successfully completed."
echo "Backend test and build workflow successfully completed."