From 5278c2af9c2449c720b614e6c37203674863b7d4 Mon Sep 17 00:00:00 2001 From: AllanZhengYP Date: Wed, 20 Oct 2021 15:44:15 -0700 Subject: [PATCH] test: unblock generic client test (#2922) * test: unblock generic client test client-dencumentation-generator package was renamed to service-client- documentation-generator but not release yet. Hense the generic client test is blocked because it cannot download the new package. This change link the package from local. It will be reverted after next release * chore: replace instead of link because the package is not published --- .github/workflows/generic-client-tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/generic-client-tests.yml b/.github/workflows/generic-client-tests.yml index 07896b67ebdd..3fdcd6258df6 100644 --- a/.github/workflows/generic-client-tests.yml +++ b/.github/workflows/generic-client-tests.yml @@ -34,7 +34,13 @@ jobs: cd codegen ./gradlew clean smithy-aws-typescript-codegen:build generic-client-test-codegen:build + - name: build service-client-documentation-generator + run: | + cd packages/service-client-documentation-generator + yarn install && yarn build + - name: build generic client run: | cd codegen/generic-client-test-codegen/build/smithyprojections/generic-client-test-codegen/aws-echo-service/typescript-codegen/ + sed -i -e 's/"@aws-sdk\/service-client-documentation-generator":\ "3\.37\.0"/"@aws-sdk\/service-client-documentation-generator":\ "..\/..\/..\/..\/..\/..\/..\/packages\/service-client-documentation-generator"/g' package.json yarn install && yarn build