Skip to content

Commit fc897ff

Browse files
authored
fix: allow to skip ts-dep check (#120)
1 parent c6333a5 commit fc897ff

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/unitTestsLinux.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
on:
22
workflow_call:
3+
inputs:
4+
skipTsDepCheck:
5+
type: boolean
6+
required: false
7+
default: false
8+
description: skip `prevent-typescript-dependency`. Use it for devDeps that ship TS
39

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

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

1926
linux-unit-tests:

0 commit comments

Comments
 (0)