mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-12 14:54:44 -04:00
Add Frontend to GitHub Actions
This commit is contained in:
parent
256ebb179e
commit
0ade7b8b1f
17
.github/workflows/dotnet.yml
vendored
17
.github/workflows/dotnet.yml
vendored
@ -10,17 +10,26 @@ on:
|
|||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-backend:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
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
|
|
||||||
|
- name: Build Backend
|
||||||
run: dotnet build --no-restore
|
run: dotnet build --no-restore
|
||||||
|
|
||||||
|
- name: Restore Frontend
|
||||||
|
working-directory: 'Pulsar/WebApp'
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Build Frontend
|
||||||
|
working-directory: 'Pulsar/WebApp'
|
||||||
|
run: npm run build
|
||||||
|
1
Pulsar/WebApp/src/routes/+layout.ts
Normal file
1
Pulsar/WebApp/src/routes/+layout.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export const prerender = true;
|
0
Pulsar/WebApp/src/routes/botany/+page.svelte
Normal file
0
Pulsar/WebApp/src/routes/botany/+page.svelte
Normal file
0
Pulsar/WebApp/src/routes/explorer/+page.svelte
Normal file
0
Pulsar/WebApp/src/routes/explorer/+page.svelte
Normal file
0
Pulsar/WebApp/src/routes/options/+page.svelte
Normal file
0
Pulsar/WebApp/src/routes/options/+page.svelte
Normal file
0
Pulsar/WebApp/src/routes/ship/+page.svelte
Normal file
0
Pulsar/WebApp/src/routes/ship/+page.svelte
Normal file
Loading…
x
Reference in New Issue
Block a user