Skip to content

Commit 647247f

Browse files
author
Michael Kaiser
committed
Update installing cdk cli
1 parent 6a7b6a6 commit 647247f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/build-pull-request.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
run: |
4646
# Create a temporary directory for build logs
4747
mkdir -p /tmp/build_logs
48-
npm install -g eslint > /dev/null
48+
yarn global add eslint@latest
49+
yarn global add aws-cdk@latest
4950
# Function to build a single file
5051
build_file() {
5152
echo "Build File $1"
@@ -127,13 +128,6 @@ jobs:
127128
# Change to language directory
128129
cd ./${{ matrix.language }}
129130
130-
# install CDK CLI from npm if not typescript, so that npx can find it later
131-
# ts will use the one from the particular cdk app
132-
if [[ ${{ matrix.language }} != 'typescript' ]]; then
133-
npm install -g aws-cdk
134-
npx cdk --version
135-
fi
136-
137131
# Run the build_file function in parallel for each project to be built
138132
# Halt the execution if any of the build_file invocations fail
139133
echo "::group::Build Output"

0 commit comments

Comments
 (0)