Closed pahud closed 1 year ago
https://github.com/aws-samples/aws-cdk-examples/blob/2a494c4c30ff58bcc16b6e338cb704b16329e4aa/.github/workflows/build-pull-request.yml#L76
The build-typescript.sh should just build a single ts project rather than all projects
build-typescript.sh
https://github.com/aws-samples/aws-cdk-examples/blob/2a494c4c30ff58bcc16b6e338cb704b16329e4aa/scripts/build-typescript.sh#L5
This PR fixes this issue and conditionally install the npm packages with yarn or npm command based on the availability of yarn.lock and npm-lock.json.
yarn.lock
npm-lock.json
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
https://github.com/aws-samples/aws-cdk-examples/blob/2a494c4c30ff58bcc16b6e338cb704b16329e4aa/.github/workflows/build-pull-request.yml#L76
The
build-typescript.sh
should just build a single ts project rather than all projectshttps://github.com/aws-samples/aws-cdk-examples/blob/2a494c4c30ff58bcc16b6e338cb704b16329e4aa/scripts/build-typescript.sh#L5
This PR fixes this issue and conditionally install the npm packages with yarn or npm command based on the availability of
yarn.lock
andnpm-lock.json
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.