3.xchanges #47
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: Check PR | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Check PR | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 2.1.805 | |
- name: Install dependencies | |
run: dotnet restore Dwapi.sln | |
- name: Build | |
run: dotnet build src/Dwapi/Dwapi.csproj --configuration Release --no-restore | |
- name: Test | |
run: ls test/*/*.Tests.csproj | xargs -L 1 dotnet test | |
- name: Setup Angular | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' | |
- run: npm install --prefix src/Dwapi | |
- run: npm run build --prefix src/Dwapi |