From 93a370bfa8c9ebb32ad3c815d8d1c84fa4fa5f8d Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Tue, 28 Jul 2026 18:44:30 -0400 Subject: [PATCH] fix(ci): run npm test instead of hardcoded npx jest in ci-typescript-cdk --- .github/workflows/ci-typescript-cdk.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-typescript-cdk.yaml b/.github/workflows/ci-typescript-cdk.yaml index c239f2d..dc96a74 100644 --- a/.github/workflows/ci-typescript-cdk.yaml +++ b/.github/workflows/ci-typescript-cdk.yaml @@ -32,7 +32,7 @@ on: type: boolean default: false run-tests: - description: "Run Jest" + description: "Run the package's npm test script (requires a test script in package.json)" type: boolean default: false run-cdk-synth: @@ -104,7 +104,7 @@ jobs: - name: Run tests if: ${{ inputs.run-tests }} working-directory: ${{ inputs.working-directory }} - run: npx jest + run: npm test - name: CDK synth if: ${{ inputs.run-cdk-synth }}