File tree 1 file changed +25
-3
lines changed
1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ trigger:
4
4
branches :
5
5
include :
6
6
- main
7
- pr : none
7
+
8
+ pr :
9
+ - main
10
+ - release/*
8
11
9
12
resources :
10
13
repositories :
@@ -31,6 +34,25 @@ extends:
31
34
displayName : Install dependencies
32
35
- script : npm run compile
33
36
displayName : Compile
34
-
35
- testPlatforms : {}
37
+
38
+ testPlatforms :
39
+ - name : Linux
40
+ nodeVersions :
41
+ - 20.x
42
+
43
+ testSteps :
44
+ - script : npm ci
45
+ displayName : Install dependencies
46
+ - script : npm run compile
47
+ displayName : Compile
48
+ - script : docker run --rm -v `pwd`/..:/repo -w /repo/tests/test-client node:20 npm i
49
+ workingDirectory : tests
50
+ displayName : Install test dependencies
51
+ - script : docker compose run test-direct-client
52
+ workingDirectory : tests
53
+ displayName : Test direct client
54
+ - script : docker compose run test-proxy-client
55
+ workingDirectory : tests
56
+ displayName : Test proxy client
57
+
36
58
publishPackage : ${{ parameters.publishPackage }}
You can’t perform that action at this time.
0 commit comments