Commit d6157e0
feat(node): support node 20 in tasks (#581)
Addresses #566. Use Node 20 using microsoft guidance: https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops#q-how-can-i-upgrade-my-custom-task-to-the-latest-node
Keep Node 10 as a fallback. However, we are still building the node10 with esbuild to ensure backwards compatibility. In the future, we can consider building for a higher node version only.
Adding support requires a hacky patch to fix shell.js, which doesn't support bundlers.
Mitigates the issue described in #539
Credit to ivanduplenskikh: https://github.com/ivanduplenskikh/aws-toolkit-azure-devops/pull/1
Co-authored-by: Ivan Duplenskikh <115665590+ivanduplenskikh@users.noreply.github.com>1 parent f4b9ae1 commit d6157e0
File tree
26 files changed
+292
-308
lines changed- .changes/next-release
- .vscode
- build-scripts
- src/tasks
- AWSCLI
- AWSShellScript
- BeanstalkCreateApplicationVersion
- BeanstalkDeployApplication
- CloudFormationCreateOrUpdateStack
- CloudFormationDeleteStack
- CloudFormationExecuteChangeSet
- CodeDeployDeployApplication
- ECRPullImage
- ECRPushImage
- LambdaDeployFunction
- LambdaInvokeFunction
- LambdaNETCoreDeploy
- S3Download
- S3Upload
- SecretsManagerCreateOrUpdateSecret
- SecretsManagerGetSecret
- SendMessage
- SystemsManagerGetParameter
- SystemsManagerRunCommand
- SystemsManagerSetParameter
26 files changed
+292
-308
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 2 | + | |
8 | 3 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 4 | + | |
12 | 5 | | |
13 | 6 | | |
14 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
24 | 63 | | |
25 | 64 | | |
26 | 65 | | |
27 | 66 | | |
28 | 67 | | |
29 | 68 | | |
30 | 69 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 70 | + | |
| 71 | + | |
38 | 72 | | |
39 | 73 | | |
40 | 74 | | |
| |||
69 | 103 | | |
70 | 104 | | |
71 | 105 | | |
| 106 | + | |
| 107 | + | |
72 | 108 | | |
73 | 109 | | |
74 | 110 | | |
| |||
111 | 147 | | |
112 | 148 | | |
113 | 149 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
128 | 159 | | |
129 | 160 | | |
| 161 | + | |
| 162 | + | |
130 | 163 | | |
131 | 164 | | |
132 | 165 | | |
| |||
156 | 189 | | |
157 | 190 | | |
158 | 191 | | |
159 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
160 | 200 | | |
0 commit comments