Skip to content

Commit c95aa25

Browse files
author
Michael Kaiser
committed
Update installing cdk cli
1 parent 957fd6b commit c95aa25

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
5051
# Function to build a single file
5152
build_file() {
@@ -129,13 +130,6 @@ jobs:
129130
# Change to language directory
130131
cd ./${{ matrix.language }}
131132
132-
# install CDK CLI from npm if not typescript, so that npx can find it later
133-
# ts will use the one from the particular cdk app
134-
if [[ ${{ matrix.language }} != 'typescript' ]]; then
135-
npm install -g aws-cdk
136-
npx cdk --version
137-
fi
138-
139133
# Run the build_file function in parallel for each project to be built
140134
# Halt the execution if any of the build_file invocations fail
141135
echo "::group::Build Output"

0 commit comments

Comments
 (0)