From 607d314f3a9c40e9326845a07d897cc69f0810c8 Mon Sep 17 00:00:00 2001 From: Neil Murphy Date: Fri, 3 Jan 2025 18:36:36 +0000 Subject: [PATCH] update pre-commit checks and workflow scrips --- .github/workflows/check-snippets.yml | 2 +- .github/workflows/consolidate-snippets.yml | 2 +- .husky/pre-commit | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-snippets.yml b/.github/workflows/check-snippets.yml index 69824bba..1efb01f2 100644 --- a/.github/workflows/check-snippets.yml +++ b/.github/workflows/check-snippets.yml @@ -28,4 +28,4 @@ jobs: run: tsx utils/checkSnippetFormatting.ts # Run the script located in the utils/ folder post-on-failure: | ## :x: Snippet Format Error - ${run.output} \ No newline at end of file + ${run.output} diff --git a/.github/workflows/consolidate-snippets.yml b/.github/workflows/consolidate-snippets.yml index 8ac9047e..e873beda 100644 --- a/.github/workflows/consolidate-snippets.yml +++ b/.github/workflows/consolidate-snippets.yml @@ -23,7 +23,7 @@ jobs: - name: Install dependencies run: | - npm install + npm ci - name: Consolidate Snippets run: | diff --git a/.husky/pre-commit b/.husky/pre-commit index aaa9ed1a..3b9f6bcf 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,3 +1,4 @@ +npm run snippets:check npm run cspell npm run lint npm run test-ci