diff --git a/.gitea/workflows/checks-and-policy.yml b/.gitea/workflows/checks-and-policy.yml index 409b5e4..25dbd50 100644 --- a/.gitea/workflows/checks-and-policy.yml +++ b/.gitea/workflows/checks-and-policy.yml @@ -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." \ No newline at end of file + echo "Backend test and build workflow successfully completed."