Skip to content

Commit

Permalink
Use pre-installed version of npm in CodeBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
clareliguori committed Oct 1, 2023
1 parent 92070af commit 075ebf7
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion canaries/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ phases:
nodejs: latest
commands:
- cd canaries
- npm install -g npm@latest
- npm ci
- export CANARY_CODE_FILENAME=trivia-game-canary-code-`echo $CODEBUILD_BUILD_ID | awk -F":" '{print $2}'`.zip
build:
Expand Down
1 change: 0 additions & 1 deletion chat-bot/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ phases:
nodejs: latest
commands:
- cd chat-bot/bot
- npm install -g npm@latest
- npm ci
- cd ..
build:
Expand Down
1 change: 0 additions & 1 deletion chat-bot/lex-model/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ phases:
- export AWS_ACCOUNT_ID=`echo $CODEBUILD_BUILD_ARN | awk -F":" '{print $5}'`
- cd chat-bot/lex-model
- chmod +x gen-lex-model.sh
- npm install -g npm@latest
- npm ci
build:
commands:
Expand Down
1 change: 0 additions & 1 deletion static-site/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ phases:
nodejs: latest
commands:
# Install dependencies for both site content and for CDK
- npm install -g npm@latest
- npm install -g aws-cdk
- cd static-site/app
- npm ci
Expand Down
1 change: 0 additions & 1 deletion trivia-backend/infra/cdk/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ phases:
commands:
# Install CDK & jq, upgrade npm
- yum install -y jq
- npm install -g npm@latest
- npm install -g aws-cdk

pre_build:
Expand Down
1 change: 0 additions & 1 deletion trivia-backend/infra/codedeploy-blue-green/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ phases:
nodejs: latest
commands:
- yum install -y jq
- npm install -g npm@latest

pre_build:
commands:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ phases:
nodejs: latest
commands:
- cd trivia-backend/infra/codedeploy-lifecycle-event-hooks
- npm install -g npm@latest
- npm ci
build:
commands:
Expand Down

0 comments on commit 075ebf7

Please sign in to comment.