Feature/dotnet8 angular18 #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install template | |
run: dotnet new --install . | |
- name: Create output folder | |
run: mkdir output | |
- name: Instantiate template | |
run: dotnet new f23-angular-material | |
working-directory: output | |
- name: Build generated .NET code | |
run: dotnet build | |
working-directory: output | |
- name: npm ci | |
run: npm ci | |
working-directory: output/ClientApp | |
- name: npm audit | |
run: npm audit | |
working-directory: output/ClientApp | |
- name: npm run build | |
run: npm run build | |
working-directory: output/ClientApp |