1+ ---
12name : Integration Tests
23
34on :
@@ -35,44 +36,53 @@ jobs:
3536 echo "IS_RELEASE=true" >> $GITHUB_OUTPUT
3637 echo "IS_RELEASE=true" >> $env:GITHUB_OUTPUT
3738 if : " ${{ startsWith(github.head_ref, 'release-') }}"
39+
3840 # This improves Windows network performance, we need this since we open many ports in our tests
3941 - name : Increase Windows port limit and reduce time wait delay
4042 run : |
4143 netsh int ipv4 set dynamicport tcp start=1025 num=64511
4244 REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters /v TcpTimedWaitDelay /t REG_DWORD /d 30 /f
4345 if : " ${{ matrix.os == 'windows-latest' && !steps.release-check.outputs.IS_RELEASE }}"
46+
4447 - name : Git checkout
4548 uses : actions/checkout@v4
4649 with :
4750 fetch-depth : 0
4851 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
52+
4953 - name : Use Node.js ${{ matrix.node-version }}
5054 uses : actions/setup-node@v4
5155 with :
5256 node-version : ${{ matrix.node-version }}
5357 cache : npm
5458 check-latest : true
5559 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
60+
5661 - name : Install PNPM
5762 run : |
5863 corepack enable
5964 corepack prepare pnpm@9.14.2 --activate
6065 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
66+
6167 - name : Setup Deno
6268 uses : denoland/setup-deno@v1
6369 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
6470 with :
6571 deno-version : v1.44.4
72+
6673 - name : Install core dependencies
6774 run : npm ci --no-audit
6875 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
76+
6977 - name : Generate self-signed certificates
7078 run : npm run certs
7179 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
7280 shell : bash
81+
7382 - name : Prepare tests
7483 run : npm run test:init
7584 if : ' ${{ !steps.release-check.outputs.IS_RELEASE }}'
85+
7686 - name : Tests
7787 uses : nick-fields/retry@v3
7888 if : ' ${{ !steps.release-check.outputs.IS_RELEASE }}'
92102 # Changes the polling interval used by the file watcher
93103 CHOKIDAR_INTERVAL : 20
94104 CHOKIDAR_USEPOLLING : 1
105+
95106 - name : Get test coverage flags
96107 id : test-coverage-flags
97108 # For windows we have to use $env:
@@ -138,43 +149,52 @@ jobs:
138149 echo "IS_RELEASE=true" >> $GITHUB_OUTPUT
139150 echo "IS_RELEASE=true" >> $env:GITHUB_OUTPUT
140151 if : " ${{ startsWith(github.head_ref, 'release-') }}"
152+
141153 # This improves Windows network performance, we need this since we open many ports in our tests
142154 - name : Increase Windows port limit and reduce time wait delay
143155 run : |
144156 netsh int ipv4 set dynamicport tcp start=1025 num=64511
145157 REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters /v TcpTimedWaitDelay /t REG_DWORD /d 30 /f
158+
146159 - name : Git checkout
147160 uses : actions/checkout@v4
148161 with :
149162 fetch-depth : 0
150163 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
164+
151165 - name : Use Node.js
152166 uses : actions/setup-node@v4
153167 with :
154168 node-version : ' 23.x'
155169 cache : npm
156170 check-latest : true
157171 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
172+
158173 - name : Install PNPM
159174 run : |
160175 corepack enable
161176 corepack prepare pnpm@9.14.2 --activate
162177 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
178+
163179 - name : Setup Deno
164180 uses : denoland/setup-deno@v1
165181 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
166182 with :
167183 deno-version : v1.44.4
184+
168185 - name : Install core dependencies
169186 run : npm ci --no-audit
170187 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
188+
171189 - name : Generate self-signed certificates
172190 run : npm run certs
173191 if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
174192 shell : bash
193+
175194 - name : Prepare tests
176195 run : npm run test:init
177196 if : ' ${{ !steps.release-check.outputs.IS_RELEASE }}'
197+
178198 - name : Tests
179199 uses : nick-fields/retry@v3
180200 if : ' ${{ !steps.release-check.outputs.IS_RELEASE }}'
@@ -194,6 +214,7 @@ jobs:
194214 # Changes the polling interval used by the file watcher
195215 CHOKIDAR_INTERVAL : 20
196216 CHOKIDAR_USEPOLLING : 1
217+
197218 - name : Get test coverage flags
198219 id : test-coverage-flags
199220 # For windows we have to use $env:
0 commit comments