From 0cd8ee0ddfd797901a564ce3ea387d773ccc776b Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Sat, 13 Jan 2024 07:21:41 -0500 Subject: [PATCH] Run windows-specific test script --- .github/workflows/test.yaml | 9 +++------ package.json | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3b50e406c0..5fe240990e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,10 +22,7 @@ jobs: cache: npm cache-dependency-path: package.json - run: npm install --omit=optional - shell: bash - - # if: matrix.os != 'windows-latest' + - if: matrix.os != 'windows-latest' run: npm test - shell: bash - # - if: matrix.os == 'windows-latest' - # run: npm test-windows - # shell: bash + - if: matrix.os == 'windows-latest' + run: npm run test-windows diff --git a/package.json b/package.json index 3dc0449a9d..21c9a736a2 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "pretest": "npm run _prebuild", "serve": "npm run cd:docs serve", "test": "npm run cd:docs test && npm run check", - "test-windows": "npm run cd:docs", + "test-windows": "npm run cd:docs test", "update:pkg:dep": "npm install --save-exact @fortawesome/fontawesome-free@latest bootstrap@latest", "update:pkg:hugo": "npm install --save-exact -D hugo-extended@latest" },