Skip to content

Commit 22ee27e

Browse files
authored
chore: fix specs deps (#478)
1 parent 7802514 commit 22ee27e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ outputs:
133133
value: ${{
134134
steps.diff.outputs.GITHUB_ACTIONS_CHANGED > 0 ||
135135
steps.diff.outputs.SCRIPTS_CHANGED > 0 ||
136-
steps.diff.outputs.SPECS_CHANGED > 0 ||
136+
steps.diff.outputs.SHOULD_RUN_SPECS > 0 ||
137137
steps.diff.outputs.TESTS_CHANGED > 0 ||
138138
steps.diff.outputs.JS_CLIENT_CHANGED > 0 ||
139139
steps.diff.outputs.JS_TEMPLATE_CHANGED > 0 ||

scripts/ci/githubActions/setRunVariables.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ export const DEPENDENCIES = {
2929
'.github/workflows',
3030
'.github/.cache_version',
3131
],
32-
SPECS_CHANGED: ['specs', ':!specs/bundled'],
32+
SHOULD_RUN_SPECS: [
33+
...CLIENTS_COMMON_FILES,
34+
'specs',
35+
'templates',
36+
'generators',
37+
':!specs/bundled',
38+
],
3339
COMMON_SPECS_CHANGED: ['specs/common'],
3440
TESTS_CHANGED: ['tests'],
3541
SCRIPTS_CHANGED: ['scripts'],

0 commit comments

Comments
 (0)