Skip to content

Commit

Permalink
fix: allow to skip ts-dep check
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Jul 25, 2024
1 parent c6333a5 commit d73e8b2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/unitTestsLinux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
on:
workflow_call:
inputs:
skipTsDepCheck:
type: boolean
required: false
default: false
description: skip `prevent-typescript-dependency`. Use it for devDeps that ship TS

jobs:
determine-node-versions:
Expand All @@ -14,6 +20,7 @@ jobs:
nodeDisableCurrent: ${{ vars.UT_DISABLE_NODE_CURRENT }} # default is falsy

prevent-typescript-dependency:
if: ${{ inputs.skipTsDepCheck == 'false' }}
uses: salesforcecli/github-workflows/.github/workflows/preventTypescriptDep.yml@main

linux-unit-tests:
Expand Down

0 comments on commit d73e8b2

Please sign in to comment.