Skip to content

Commit 607d314

Browse files
committed
update pre-commit checks and workflow scrips
1 parent 05e49b3 commit 607d314

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/check-snippets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
run: tsx utils/checkSnippetFormatting.ts # Run the script located in the utils/ folder
2929
post-on-failure: |
3030
## :x: Snippet Format Error
31-
${run.output}
31+
${run.output}

.github/workflows/consolidate-snippets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: Install dependencies
2525
run: |
26-
npm install
26+
npm ci
2727
2828
- name: Consolidate Snippets
2929
run: |

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
npm run snippets:check
12
npm run cspell
23
npm run lint
34
npm run test-ci

0 commit comments

Comments
 (0)