Improvements/general package update #151
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: EcommerceDDD | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore EcommerceDDD.sln | |
- name: Build | |
run: dotnet build --no-restore EcommerceDDD.sln | |
- name: Test | |
run: dotnet test --no-build --verbosity normal EcommerceDDD.sln | |
spa-test-verify: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: src/EcommerceDDD.Spa | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: npm ci | |
- run: npm run test | |