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