test-aws-cdk-integration #3418
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". | |
name: test-aws-cdk-integration | |
on: | |
workflow_dispatch: {} | |
pull_request: {} | |
merge_group: | |
branches: | |
- main | |
jobs: | |
test-with-new-codegen: | |
runs-on: awscdk-service-spec_ubuntu-latest_32-core | |
permissions: | |
contents: read | |
env: | |
CI: "1" | |
NODE_OPTIONS: --max-old-space-size=8196 | |
steps: | |
- name: Checkout awscdk-service-spec | |
uses: actions/checkout@v3 | |
with: | |
path: awscdk-service-spec | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
lfs: true | |
- name: Build awscdk-service-spec | |
run: |- | |
yarn install --frozen-lockfile | |
yarn compile | |
working-directory: awscdk-service-spec | |
- name: Checkout aws/aws-cdk | |
uses: actions/checkout@v3 | |
with: | |
path: aws-cdk | |
repository: aws/aws-cdk | |
- name: Register drop-in @aws-cdk/aws-service-spec replacement | |
run: yarn link | |
working-directory: awscdk-service-spec/packages/@aws-cdk/aws-service-spec | |
- name: Link drop-in @aws-cdk/aws-service-spec replacement | |
run: yarn link "@aws-cdk/aws-service-spec" | |
working-directory: aws-cdk | |
- name: Register drop-in @aws-cdk/service-spec-types replacement | |
run: yarn link | |
working-directory: awscdk-service-spec/packages/@aws-cdk/service-spec-types | |
- name: Link drop-in @aws-cdk/service-spec-types replacement | |
run: yarn link "@aws-cdk/service-spec-types" | |
working-directory: aws-cdk | |
- name: Setup aws/aws-cdk | |
run: yarn install | |
working-directory: aws-cdk | |
- name: Build aws/aws-cdk | |
run: npx lerna run build --no-bail --scope aws-cdk-lib --include-dependencies | |
working-directory: aws-cdk |