diff --git a/.github/workflows/test-aws-cdk-integration.yml b/.github/workflows/test-aws-cdk-integration.yml index a6809336a..8c49a0b1c 100644 --- a/.github/workflows/test-aws-cdk-integration.yml +++ b/.github/workflows/test-aws-cdk-integration.yml @@ -45,9 +45,6 @@ jobs: - name: Link drop-in @aws-cdk/service-spec-types replacement run: yarn link "@aws-cdk/service-spec-types" working-directory: aws-cdk - - name: Use spec2cdk - run: echo "export * from '@aws-cdk/spec2cdk/lib/cfn2ts';" > packages/aws-cdk-lib/scripts/codegen.ts - working-directory: aws-cdk - name: Setup aws/aws-cdk run: yarn install working-directory: aws-cdk diff --git a/projenrc/aws-cdk-integration-test.ts b/projenrc/aws-cdk-integration-test.ts index 61fdfb77d..87907cd61 100644 --- a/projenrc/aws-cdk-integration-test.ts +++ b/projenrc/aws-cdk-integration-test.ts @@ -61,7 +61,6 @@ export class AwsCdkIntegrationTest extends pj.Component { ...checkoutRepository(awsCdkRepo, awsCdkPath), ...linkPackage(options.serviceSpec, awsCdkPath), ...linkPackage(options.serviceSpecTypes, awsCdkPath), - ...useSpec2Cdk(awsCdkPath), ...buildAwsCdkLib(awsCdkRepo, awsCdkPath), ...runJsiiDiff(candidateSpec, diffIgnoreFile), ], @@ -105,16 +104,6 @@ function linkPackage(project: pj.Project, targetPath: string): pj.github.workflo ]; } -function useSpec2Cdk(path: string): pj.github.workflows.Step[] { - return [ - { - name: `Use spec2cdk`, - workingDirectory: path, - run: `echo "export * from '@aws-cdk/spec2cdk/lib/cfn2ts';" > packages/aws-cdk-lib/scripts/codegen.ts`, - }, - ]; -} - function buildAwsCdkLib(repository: string, path: string): pj.github.workflows.Step[] { return [ {