-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathazure-pipelines.yml
57 lines (43 loc) · 1.32 KB
/
azure-pipelines.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# # Node.js with Angular
# # Build a Node.js project that uses Angular.
# # Add steps that analyze code, save build artifacts, deploy, and more:
# # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
# trigger:
# - master
# pool:
# vmImage: 'ubuntu-latest'
# variables:
# - group: node-variables
# steps:
# - task: NodeTool@0
# inputs:
# versionSpec: '16.x'
# displayName: 'Install Node.js'
# - script: npm config set @infragistics:registry $(ig_registry)
# displayName: 'Npm add registry'
# - script: npm config set $(ig_scope):always-auth=true
# displayName: 'Npm config'
# - script: npm config set $(ig_scope):_auth=$(npm_token)
# displayName: 'Npm config auth'
# - script: npm ci
# displayName: npm ci
# - script: npm run lint
# displayName: run lint
# - script: npm run test:prod
# displayName: run test
# # - script: npm run build:prerender
# # displayName: build prerender
# - script: npm run build:ssr
# displayName: build ssr
# - task: ShellScript@2
# inputs:
# scriptPath: 'predeploy.sh'
# # Publish Build Artifacts to Azure Pipelines
# - task: PublishBuildArtifacts@1
# inputs:
# pathtoPublish: 'dist'
# artifactName: 'dist'
# publishLocation: 'Container'
# targetPath: 'dist/bellum-gens'
# parallel: true # Optional
# #parallelCount: # Optional