fix einrückung
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
name: Build Backend and Frontend
|
name: Build Backend and Frontend
|
||||||
run-name: ${{ gitea.actor }} is testing out Building Website
|
run-name: ${{ gitea.actor }} is testing out Building Website
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@ -8,43 +9,40 @@ jobs:
|
|||||||
name: Build & Test .NET Backend
|
name: Build & Test .NET Backend
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
name: Clone the repository
|
- name: Clone the repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
name: Setup .NET SDK
|
- name: Setup .NET SDK
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
name: Build the project
|
- name: Build the project
|
||||||
run: dotnet build USEntryCoach.sln --no-restore --configuration Release
|
run: dotnet build USEntryCoach.sln --no-restore --configuration Release
|
||||||
|
|
||||||
name: Run tests
|
- name: Run tests
|
||||||
run: dotnet test USEntryCoach.sln --no-build --verbosity normal
|
run: dotnet test USEntryCoach.sln --no-build --verbosity normal
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
name: Build Frontend
|
name: Build Frontend
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: backend
|
needs: backend
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
name: Clone the repository
|
- name: Clone the repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
name: Install dependencies
|
- name: Install dependencies
|
||||||
working-directory: ./usentrycoach.client
|
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
name: Build frontend
|
|
||||||
working-directory: ./usentrycoach.client
|
working-directory: ./usentrycoach.client
|
||||||
|
|
||||||
|
- name: Build frontend
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
working-directory: ./usentrycoach.client
|
||||||
|
|||||||
Reference in New Issue
Block a user