|
45 | 45 | with: |
46 | 46 | dotnet-version: '8.x' |
47 | 47 |
|
48 | | - - name: Install CDK |
49 | | - run: npm install |
| 48 | + - name: Setup Node.js |
| 49 | + uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 |
| 50 | + with: |
| 51 | + node-version: "22" |
| 52 | + |
| 53 | + - name: Setup dependencies |
| 54 | + uses: aws-powertools/actions/.github/actions/cached-node-modules@29979bc5339bf54f76a11ac36ff67701986bb0f0 |
50 | 55 |
|
51 | 56 | - name: Install AWS Lambda .NET CLI Tools |
52 | 57 | run: dotnet tool install -g Amazon.Lambda.Tools |
|
84 | 89 | with: |
85 | 90 | dotnet-version: '8.x' |
86 | 91 |
|
87 | | - - name: Install CDK |
88 | | - run: npm install |
| 92 | + - name: Setup Node.js |
| 93 | + uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 |
| 94 | + with: |
| 95 | + node-version: "22" |
| 96 | + |
| 97 | + - name: Setup dependencies |
| 98 | + uses: aws-powertools/actions/.github/actions/cached-node-modules@29979bc5339bf54f76a11ac36ff67701986bb0f0 |
89 | 99 |
|
90 | 100 | - name: Install AWS Lambda .NET CLI Tools |
91 | 101 | run: dotnet tool install -g Amazon.Lambda.Tools |
@@ -147,8 +157,13 @@ jobs: |
147 | 157 | aws-region: us-east-1 |
148 | 158 | mask-aws-account-id: true |
149 | 159 |
|
150 | | - - name: Install CDK |
151 | | - run: npm install |
| 160 | + - name: Setup Node.js |
| 161 | + uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 |
| 162 | + with: |
| 163 | + node-version: "22" |
| 164 | + |
| 165 | + - name: Setup dependencies |
| 166 | + uses: aws-powertools/actions/.github/actions/cached-node-modules@29979bc5339bf54f76a11ac36ff67701986bb0f0 |
152 | 167 |
|
153 | 168 | - name: Install AWS Lambda .NET CLI Tools |
154 | 169 | run: dotnet tool install -g Amazon.Lambda.Tools |
@@ -183,8 +198,13 @@ jobs: |
183 | 198 | aws-region: us-east-1 |
184 | 199 | mask-aws-account-id: true |
185 | 200 |
|
186 | | - - name: Install CDK |
187 | | - run: npm install |
| 201 | + - name: Setup Node.js |
| 202 | + uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 |
| 203 | + with: |
| 204 | + node-version: "22" |
| 205 | + |
| 206 | + - name: Setup dependencies |
| 207 | + uses: aws-powertools/actions/.github/actions/cached-node-modules@29979bc5339bf54f76a11ac36ff67701986bb0f0 |
188 | 208 |
|
189 | 209 | - name: Install AWS Lambda .NET CLI Tools |
190 | 210 | run: dotnet tool install -g Amazon.Lambda.Tools |
|
0 commit comments