Merge pull request #110 from Sea-Haven-Industries/fix/ci-ts-cdk-npm-test

fix(ci): run npm test instead of hardcoded npx jest in ci-typescript-cdk
This commit is contained in:
Adam Moussa 2026-07-28 18:46:15 -04:00 • committed by GitHub
commit 3f74677422
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}