Skip to content

Commit 9d8bbff

Browse files
kaiz-ioMichael Kaiser
andauthored
Fix: Typescript npm install command and update other language package (#1044)
* Fix: Typescript npm install command and update other language package.json * Chore: Update commit --------- Co-authored-by: Michael Kaiser <[email protected]>
1 parent aa729c8 commit 9d8bbff

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,12 @@ jobs:
9898
echo "- $dir"
9999
done
100100
101-
# install CDK CLI from npm, so that npx can find it later
102-
cd ./${{ matrix.language }}
103-
npm install
101+
# install CDK CLI from npm if not typescript, so that npx can find it later
102+
# ts will use the one from the particular cdk app
103+
if [[ ${{ matrix.language }} != 'typescript' ]]; then
104+
cd ./${{ matrix.language }}
105+
npm install -g aws-cdk
106+
fi
104107
105108
# Run the build_file function in parallel for each project to be built
106109
# Halt the execution if any of the build_file invocations fail

csharp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"devDependencies": {
3-
"aws-cdk": "^2.0.0-rc.32"
3+
"aws-cdk": "^2.0.0"
44
}
55
}

go/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"devDependencies": {
3-
"aws-cdk": "^2.0.0-rc.32"
3+
"aws-cdk": "^2.0.0"
44
}
55
}

java/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"devDependencies": {
3-
"aws-cdk": "^2.0.0-rc.32"
3+
"aws-cdk": "^2.0.0"
44
}
55
}

python/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"devDependencies": {
3-
"aws-cdk": "^2.0.0-rc.32"
3+
"aws-cdk": "^2.0.0"
44
}
55
}

0 commit comments

Comments
 (0)