Added build step for frontend in NuGet publishing workflow to ensure class list files generate properly
This commit is contained in:
@@ -31,11 +31,15 @@ jobs:
|
||||
- name: Remove artifacts
|
||||
run: rm -rf ./artifacts
|
||||
|
||||
# Publish frontend
|
||||
# Publish frontend
|
||||
# We need to build it first so the class list files generate
|
||||
- name: Build project
|
||||
run: dotnet build Moonlight.Frontend --configuration Debug
|
||||
|
||||
- name: Build tailwind styles and extract class list
|
||||
working-directory: Hosts/Moonlight.Frontend.Host/Styles
|
||||
run: npm install && npm run build
|
||||
|
||||
|
||||
- name: Build project
|
||||
run: dotnet build Moonlight.Frontend --configuration Debug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user