update job name
All checks were successful
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 11s
checks / Set up Java for Backend Tests and Build (push) Successful in 11s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 2s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Successful in 11s
checks / Set up Java for Backend Tests and Build (pull_request) Successful in 11s
All checks were successful
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 11s
checks / Set up Java for Backend Tests and Build (push) Successful in 11s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 2s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Successful in 11s
checks / Set up Java for Backend Tests and Build (pull_request) Successful in 11s
This commit is contained in:
@ -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."
|
|
||||||
|
|||||||
Reference in New Issue
Block a user