-
Notifications
You must be signed in to change notification settings - Fork 0
/
CI.yml
39 lines (35 loc) · 842 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI_$(date:yyyyMMdd)$(rev:.r)
# Re-enable trigger once Full build not deploying every time
trigger: none
#trigger:
# paths:
# exclude:
# - SpotifyRecordCollection.Deployment/*
# - .gitignore
# - Full.yaml
# - README.md
pool:
vmImage: 'windows-latest'
variables:
clientAppPath: 'spotify-record-collection'
stages:
- stage: Build
displayName: Build
jobs:
- job: ClientApp
steps:
- task: NodeTool@0
displayName: 'Ensure Node Installed'
inputs:
versionSpec: '12.x'
- task: Npm@1
displayName: 'Install ClientApp packages'
inputs:
command: 'install'
workingDir: $(clientAppPath)
- task: Npm@1
displayName: 'Build ClientApp'
inputs:
command: 'custom'
workingDir: $(clientAppPath)
customCommand: 'run build'