Created
January 19, 2021 20:22
-
-
Save suarezafelipe/ab0fa46aa5007a27d8a2b3f0951d7dc0 to your computer and use it in GitHub Desktop.
dotnet 5 and npm install, npm run-script build CI
This file contains hidden or 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: dotnet5andNodeCI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' | |
- run: npm install | |
working-directory: Hahn.ApplicationProcess.December2020.Web/front-app | |
- run: npm run-script build | |
working-directory: Hahn.ApplicationProcess.December2020.Web/front-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment