Skip to content

Commit 7946657

Browse files
committed
Fix test workflows
1 parent 647a6ab commit 7946657

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- name: Install core packages
8181
working-directory: paranext-core
8282
run: |
83-
npm ci --ignore-scripts
83+
npm ci --ignore-scripts --omit=optional
8484
8585
- name: Package for distribution
8686
run: |

.github/workflows/test.yml

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

7474
- name: Install extension dependencies
7575
working-directory: extension-repo
76-
run: npm ci --ignore-scripts --omit=optional
76+
run: npm ci --ignore-scripts
7777

7878
- name: Install core dependencies
7979
working-directory: paranext-core

jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ const config: Config = {
120120
*/
121121
testMatch: ['**/__tests__/**/*.(test|spec).[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
122122

123-
/** Do not run tests from build output or dependencies. */
124-
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
123+
/** Do not run tests from build output, e2e tests, or dependencies. */
124+
testPathIgnorePatterns: ['/dist/', '/e2e-tests/', '/node_modules/'],
125125

126126
/**
127127
* Transform TS/TSX with ts-jest (webpack uses SWC; Jest does not run webpack). Explicitly list

0 commit comments

Comments
 (0)