|
37 | 37 | node-version: ${{ env.node_version }} |
38 | 38 | registry-url: 'https://registry.npmjs.org' |
39 | 39 | - name: Install dependencies |
40 | | - run: npm ci |
| 40 | + run: | |
| 41 | + node prepareForTest.js cdk-basic |
| 42 | + npm i |
41 | 43 | - name: Download build artifact |
42 | 44 | uses: actions/download-artifact@v4 |
43 | 45 | if: ${{ inputs.mode == 'build' }} |
|
84 | 86 | node-version: ${{ env.node_version }} |
85 | 87 | registry-url: 'https://registry.npmjs.org' |
86 | 88 | - name: Install dependencies |
87 | | - run: npm ci |
| 89 | + run: | |
| 90 | + node prepareForTest.js cdk-esm |
| 91 | + npm i |
88 | 92 | - name: Download build artifact |
89 | 93 | uses: actions/download-artifact@v4 |
90 | 94 | if: ${{ inputs.mode == 'build' }} |
@@ -131,7 +135,9 @@ jobs: |
131 | 135 | node-version: ${{ env.node_version }} |
132 | 136 | registry-url: 'https://registry.npmjs.org' |
133 | 137 | - name: Install dependencies |
134 | | - run: npm ci |
| 138 | + run: | |
| 139 | + node prepareForTest.js sls-basic |
| 140 | + npm i |
135 | 141 | - name: Download build artifact |
136 | 142 | uses: actions/download-artifact@v4 |
137 | 143 | if: ${{ inputs.mode == 'build' }} |
@@ -179,7 +185,9 @@ jobs: |
179 | 185 | node-version: ${{ env.node_version }} |
180 | 186 | registry-url: 'https://registry.npmjs.org' |
181 | 187 | - name: Install dependencies |
182 | | - run: npm ci |
| 188 | + run: | |
| 189 | + node prepareForTest.js sls-esbuild-cjs |
| 190 | + npm i |
183 | 191 | - name: Download build artifact |
184 | 192 | uses: actions/download-artifact@v4 |
185 | 193 | if: ${{ inputs.mode == 'build' }} |
@@ -227,7 +235,9 @@ jobs: |
227 | 235 | node-version: ${{ env.node_version }} |
228 | 236 | registry-url: 'https://registry.npmjs.org' |
229 | 237 | - name: Install dependencies |
230 | | - run: npm ci |
| 238 | + run: | |
| 239 | + node prepareForTest.js sls-esbuild-esm |
| 240 | + npm i |
231 | 241 | - name: Download build artifact |
232 | 242 | uses: actions/download-artifact@v4 |
233 | 243 | if: ${{ inputs.mode == 'build' }} |
@@ -275,9 +285,9 @@ jobs: |
275 | 285 | node-version: ${{ env.node_version }} |
276 | 286 | registry-url: 'https://registry.npmjs.org' |
277 | 287 | - name: Install dependencies |
278 | | - run: npm ci |
279 | | - - name: Uninstall serverless |
280 | | - run: npm uninstall serverless |
| 288 | + run: | |
| 289 | + node prepareForTest.js osls-basic |
| 290 | + npm i |
281 | 291 | - name: Download build artifact |
282 | 292 | uses: actions/download-artifact@v4 |
283 | 293 | if: ${{ inputs.mode == 'build' }} |
@@ -329,7 +339,9 @@ jobs: |
329 | 339 | node-version: ${{ env.node_version }} |
330 | 340 | registry-url: 'https://registry.npmjs.org' |
331 | 341 | - name: Install dependencies |
332 | | - run: npm ci |
| 342 | + run: | |
| 343 | + node prepareForTest.js sam-basic |
| 344 | + npm i |
333 | 345 | - name: Download build artifact |
334 | 346 | uses: actions/download-artifact@v4 |
335 | 347 | if: ${{ inputs.mode == 'build' }} |
@@ -380,7 +392,9 @@ jobs: |
380 | 392 | node-version: ${{ env.node_version }} |
381 | 393 | registry-url: 'https://registry.npmjs.org' |
382 | 394 | - name: Install dependencies |
383 | | - run: npm ci |
| 395 | + run: | |
| 396 | + node prepareForTest.js sam-alt |
| 397 | + npm i |
384 | 398 | - name: Download build artifact |
385 | 399 | uses: actions/download-artifact@v4 |
386 | 400 | if: ${{ inputs.mode == 'build' }} |
@@ -427,7 +441,9 @@ jobs: |
427 | 441 | node-version: ${{ env.node_version }} |
428 | 442 | registry-url: 'https://registry.npmjs.org' |
429 | 443 | - name: Install dependencies |
430 | | - run: npm ci |
| 444 | + run: | |
| 445 | + node prepareForTest.js terraform-basic |
| 446 | + npm i |
431 | 447 | - name: Download build artifact |
432 | 448 | uses: actions/download-artifact@v4 |
433 | 449 | if: ${{ inputs.mode == 'build' }} |
|
0 commit comments