Skip to content

Commit

Permalink
chore: fix jest error in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
guansss committed Aug 29, 2023
1 parent d007445 commit 45bf6d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
cache: "npm"

- run: npm ci
- run: npm run build
- run: npm test
- run: npm run build

- name: Get package version
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module.exports = {
},

// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
// modulePathIgnorePatterns: [],
modulePathIgnorePatterns: ['dist'],

// Activates notifications for test results
// notify: false,
Expand Down

0 comments on commit 45bf6d3

Please sign in to comment.