From ae27d4533387a03d6e340554ad84275d85c0d0f6 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Thu, 21 May 2026 13:41:44 -0400 Subject: [PATCH 1/3] [gha] Limit npm ci; Add :coverage to test --- .github/workflows/bump-versions.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bump-versions.yml b/.github/workflows/bump-versions.yml index c1518135..f0ce3740 100644 --- a/.github/workflows/bump-versions.yml +++ b/.github/workflows/bump-versions.yml @@ -42,7 +42,7 @@ jobs: - name: Install packages run: | - npm ci + npm ci --ignore-scripts --omit=optional - name: Bump repo versions if: ${{ inputs.newVersion != '' }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fe3cba90..b4f04b30 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -38,11 +38,11 @@ jobs: - name: Install extension dependencies working-directory: extension-repo - run: npm ci + run: npm ci --ignore-scripts --omit=optional - name: Install core dependencies working-directory: paranext-core - run: npm ci --ignore-scripts + run: npm ci --ignore-scripts --omit=optional - name: Run format checking working-directory: extension-repo diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 55ecfba6..0f68e6b6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -75,12 +75,12 @@ jobs: - name: Install packages run: | - npm ci + npm ci --ignore-scripts --omit=optional - name: Install core packages working-directory: paranext-core run: | - npm ci --ignore-scripts + npm ci --ignore-scripts --omit=optional - name: Package for distribution run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c20eb757..3647f245 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,12 +38,12 @@ jobs: - name: Install extension dependencies working-directory: extension-repo - run: npm ci + run: npm ci --ignore-scripts --omit=optional - name: Install core dependencies working-directory: paranext-core - run: npm ci --ignore-scripts + run: npm ci --ignore-scripts --omit=optional - name: Run tests working-directory: extension-repo - run: npm test + run: npm test:coverage From 2f064fb81506256ac9ea98374df255a8d4f1a167 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Thu, 21 May 2026 14:02:32 -0400 Subject: [PATCH 2/3] Fix script invocation --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3647f245..aa5a9783 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,4 +46,4 @@ jobs: - name: Run tests working-directory: extension-repo - run: npm test:coverage + run: npm run test:coverage From cb79a6215e82d8bd73c9e75a142377ae47593f09 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Thu, 21 May 2026 14:45:57 -0400 Subject: [PATCH 3/3] Restore optionals to publish workflow --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0f68e6b6..a678ddaa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -75,12 +75,12 @@ jobs: - name: Install packages run: | - npm ci --ignore-scripts --omit=optional + npm ci --ignore-scripts - name: Install core packages working-directory: paranext-core run: | - npm ci --ignore-scripts --omit=optional + npm ci --ignore-scripts - name: Package for distribution run: |