Skip to content

Commit f500e47

Browse files
committed
fix: use Node 22 and revert CLI version pin
1 parent 2f2ac8f commit f500e47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

shared-scripts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
AMPLIFY_NODE_VERSION=24.12.0
3+
AMPLIFY_NODE_VERSION=22
44

55
# set exit on error to true
66
set -e
@@ -311,7 +311,7 @@ function _installCLIFromLocalRegistry {
311311
npm config set fetch-retry-mintimeout 40000
312312
npm config set fetch-retry-maxtimeout 240000
313313
npm config set maxsockets 1
314-
retry_with_backoff 3 npm install -g @aws-amplify/cli-internal@14.2.5
314+
retry_with_backoff 3 npm install -g @aws-amplify/cli-internal
315315
echo "using Amplify CLI version: "$(amplify --version)
316316
npm list -g --depth=1 | grep -e '@aws-amplify/amplify-category-api' -e 'amplify-codegen'
317317
unsetNpmRegistryUrl

0 commit comments

Comments
 (0)