Skip to content

Commit b70ca43

Browse files
author
Taniya Mathur
committed
Fix CI/CD issues: add evaluation dependencies and update CodeBuild to Node.js 20
- Add evaluation extras to GitLab CI to fix munkres/stickler dependency errors - Update CodeBuild template to use Node.js 20 and npm 10 to match package.json engines
1 parent 582769e commit b70ca43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/sdlc/cfn/codepipeline-s3.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ Resources:
197197
runtime-versions:
198198
python: 3.12
199199
commands:
200-
- n 18 && node --version || { echo "Node setup failed"; exit 1; }
201-
- npm install -g npm@9 || { echo "npm upgrade failed"; exit 1; }
200+
- n 20 && node --version || { echo "Node setup failed"; exit 1; }
201+
- npm install -g npm@10 || { echo "npm upgrade failed"; exit 1; }
202202
- export IDP_ADMIN_EMAIL=$(aws s3api head-object --bucket genaiic-sdlc-sourcecode-${AWS_ACCOUNT_ID:-020432867916}-${AWS_DEFAULT_REGION:-us-east-1} --key deploy/code.zip --query 'Metadata."gitlab-user-email"' --output text 2>/dev/null || echo "")
203203
- cd idp_cli && pip install -e . && cd .. || { echo "IDP CLI installation failed"; exit 1; }
204204
- pip install rich || echo "Rich installation failed, using fallback formatting"

0 commit comments

Comments
 (0)