Skip to content

Commit 8d63d17

Browse files
committed
prefix tsx calls with npx in workflows
1 parent 411ccb8 commit 8d63d17

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/check-snippets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Check if snippets are formated correctly
2626
uses: int128/comment-action@v1
2727
with:
28-
run: tsx utils/checkSnippetFormatting.ts # Run the script located in the utils/ folder
28+
run: npx tsx utils/checkSnippetFormatting.ts # Run the script located in the utils/ folder
2929
post-on-failure: |
3030
## :x: Snippet Format Error
3131
${run.output}

.github/workflows/consolidate-snippets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
- name: Consolidate Snippets
2929
run: |
30-
tsx utils/consolidateSnippets.ts # Run the script located in the utils/ folder
30+
npx tsx utils/consolidateSnippets.ts # Run the script located in the utils/ folder
3131
3232
- name: Commit and push changes
3333
run: |

.github/workflows/pre-commit-checks.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
- name: Install dependencies
2222
run: npm ci
2323

24-
- name: Temp
25-
run: npx tsx utils/checkSnippetFormatting.ts
26-
2724
- name: Run cspell
2825
run: npm run cspell
2926

0 commit comments

Comments
 (0)