mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-04 09:19:38 -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" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
build-backend:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
- name: Build
|
||||
|
||||
- name: Build Backend
|
||||
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