3131
3232 - uses : actions/setup-node@v5
3333 with :
34- node-version : " 22.x "
34+ node-version : " >=24.19.0 <25 "
3535 cache : " npm"
3636
37+ - name : Install NPM version specified in package.json
38+ uses : ./.github/actions/install-npm
39+
3740 - name : Install dependencies
3841 run : npm ci --no-audit
3942
6770
6871 - uses : actions/setup-node@v5
6972 with :
70- node-version : " 22.x "
73+ node-version : " >=24.19.0 <25 "
7174 cache : " npm"
7275
76+ - name : Install NPM version specified in package.json
77+ uses : ./.github/actions/install-npm
78+
7379 - name : Install dependencies
7480 run : npm ci --no-audit
7581
8591
8692 - name : Create HTTP API mock
8793 id : create
94+ env :
95+ NODE_OPTIONS : --experimental-transform-types --no-warnings
8896 run : |
89- npx @bifravst/http-api-mock > http-api-mock.json
97+ node node_modules/ @bifravst/http-api-mock/dist/cdk/http-api-mock.js > http-api-mock.json
9098 echo "stackName=`jq -r '.stackName' http-api-mock.json`" >> $GITHUB_OUTPUT
9199 echo "responsesTableName=`jq -r '.responsesTableName' http-api-mock.json`" >> $GITHUB_OUTPUT
92100 echo "apiURL=`jq -r '.apiURL' http-api-mock.json`" >> $GITHUB_OUTPUT
@@ -129,9 +137,12 @@ jobs:
129137
130138 - uses : actions/setup-node@v5
131139 with :
132- node-version : " 22.x "
140+ node-version : " >=24.19.0 <25 "
133141 cache : " npm"
134142
143+ - name : Install NPM version specified in package.json
144+ uses : ./.github/actions/install-npm
145+
135146 - name : Install dependencies
136147 run : npm ci --no-audit
137148
@@ -189,9 +200,12 @@ jobs:
189200
190201 - uses : actions/setup-node@v5
191202 with :
192- node-version : " 22.x "
203+ node-version : " >=24.19.0 <25 "
193204 cache : " npm"
194205
206+ - name : Install NPM version specified in package.json
207+ uses : ./.github/actions/install-npm
208+
195209 - uses : actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
196210 with :
197211 go-version : " ^1.21.6"
@@ -240,10 +254,11 @@ jobs:
240254
241255 - name : Print failed End-to-End tests
242256 if : failure()
257+ env :
258+ NODE_OPTIONS : --experimental-transform-types --no-warnings
243259 run :
244- cat e2e-test-result.json | node --experimental-transform-types
245- --no-warnings ./feature-runner/console-reporter.ts --only-failed
246- --with-timestamps
260+ cat e2e-test-result.json | node
261+ ./feature-runner/console-reporter.ts --only-failed --with-timestamps
247262
248263 - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
249264 if : failure()
@@ -257,9 +272,11 @@ jobs:
257272
258273 - name : Get all logs
259274 if : failure()
275+ env :
276+ NODE_OPTIONS : --experimental-transform-types --no-warnings
260277 run : |
261- node --experimental-transform-types ./aws/export-logs.ts ${{ env.STACK_NAME }}
262- node --experimental-transform-types ./aws/export-logs.ts ${{ needs.http-api-mock.outputs.stackName }}
278+ node ./aws/export-logs.ts ${{ env.STACK_NAME }}
279+ node ./aws/export-logs.ts ${{ needs.http-api-mock.outputs.stackName }}
263280
264281 - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
265282 if : failure()
@@ -296,9 +313,12 @@ jobs:
296313
297314 - uses : actions/setup-node@v5
298315 with :
299- node-version : " 22.x "
316+ node-version : " >=24.19.0 <25 "
300317 cache : " npm"
301318
319+ - name : Install NPM version specified in package.json
320+ uses : ./.github/actions/install-npm
321+
302322 - name : Install dependencies
303323 run : npm ci --no-audit
304324
0 commit comments