Skip to content

Commit 428bfc2

Browse files
authored
chore: fixing yarn-upgrade workflow (#25154)
test the workflow here https://github.com/aws/aws-cdk/actions/runs/4723074078/jobs/8378848351 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 15e18c8 commit 428bfc2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/yarn-upgrade.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
run: |-
4242
npm -g install lerna npm-check-updates
4343
- name: Build Integ Runner
44-
run: lerna run build --scope @aws-cdk/integ-runner --include-dependencies
44+
run: |
45+
export NODE_OPTIONS="--max-old-space-size=8196 --experimental-worker ${NODE_OPTIONS:-}"
46+
npx lerna run build --scope @aws-cdk/integ-runner
4547
- name: List Mono-Repo Packages
4648
id: list-packages
4749
# These need to be ignored from the `ncu` runs!
@@ -65,7 +67,7 @@ jobs:
6567
(cd $(dirname $pj) && ncu --upgrade --reject='constructs,${{ steps.list-packages.outputs.list }}')
6668
done
6769
# Upgrade dependencies at an aws-eks integ test docker image
68-
cd packages/@aws-cdk/aws-eks/test/sdk-call-integ-test-docker-app/app/ && ncu --upgrade --reject=',${{ steps.list-packages.outputs.list }}'
70+
cd packages/aws-cdk-lib/aws-eks/test/sdk-call-integ-test-docker-app/app/ && ncu --upgrade --reject=',${{ steps.list-packages.outputs.list }}'
6971
7072
# This will ensure the current lockfile is up-to-date with the dependency specifications (necessary for "yarn upgrade" to run)
7173
- name: Run "yarn install"

0 commit comments

Comments
 (0)