mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2026-01-03 07:07:28 +00:00
31 lines
692 B
YAML
31 lines
692 B
YAML
|
|
|
|
# configuration for "master" branch
|
|
# build in Release mode and deploy to Azure
|
|
-
|
|
branches:
|
|
only:
|
|
- master
|
|
image: Visual Studio 2017
|
|
# Test against the latest version of this Node.js version
|
|
environment:
|
|
nodejs_version: "6"
|
|
|
|
# Install scripts. (runs after repo cloning)
|
|
install:
|
|
# Get the latest stable version of Node.js or io.js
|
|
- ps: Install-Product node $env:nodejs_version
|
|
# install modules
|
|
- npm install
|
|
|
|
environment:
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
version: 1.0.{build}
|
|
configuration: Release
|
|
platform: Any CPU
|
|
skip_branch_with_pr: false
|
|
before_build:
|
|
- cmd: dotnet restore
|
|
|