Skip to content

Commit 1ea68d0

Browse files
committed
ci(KP-448): run npm test on agent host instead of docker ref ref-pipeline
1 parent f37b383 commit 1ea68d0

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.azure/azure-pipelines.ref.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,13 @@ extends:
3030
parameters:
3131
break: false
3232
jobs:
33-
- job: test
34-
displayName: 'Docker Compose Test'
33+
- job: unit_test
34+
displayName: Unit tests
3535
steps:
36-
- template: /templates/test/docker.yml@stratus-templates
36+
- template: /templates/test/npm.yml@stratus-templates
3737
parameters:
38-
imageName: $(imageName)
39-
dockerfilePath: $(dockerfilePath)
40-
tag: $(tag)
41-
dockerComposeFilePaths:
42-
- '$(Pipeline.Workspace)/github/docker-compose-unit-tests.yml'
38+
nodeVersion: 20
39+
buildCommand: run build:shared
4340

4441
- job: sonarqube
4542
displayName: 'SonarQube'
@@ -51,7 +48,7 @@ extends:
5148
- job: build_push
5249
dependsOn:
5350
- sonarqube
54-
- test
51+
- unit_test
5552
displayName: 'Build and Push image'
5653
steps:
5754
- template: /templates/docker/push.yml@stratus-templates

0 commit comments

Comments
 (0)