Skip to content

Commit

Permalink
ci: fix jest github-actions reporter not working properly
Browse files Browse the repository at this point in the history
The documentation on this is confusing and I'm not sure
how it is supposed to be configured.
Maybe it works with this commit
  • Loading branch information
SpraxDev committed Aug 28, 2024
1 parent 43938ad commit ae38606
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const config = {
},
],

reporters: process.CI === 'true' ? [['github-actions', { silent: false }], 'summary'] : undefined,
collectCoverageFrom: [
'<rootDir>/src/**/*.ts',
'!<rootDir>/src/sentry-init.ts',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"build": "tsc",

"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --coverage",
"test:ci": "npm run test -- --ci --randomize --reporters github-actions --reporters summary",
"test:ci": "npm run test -- --ci --randomize",
"dev": "node --watch --env-file .env --loader ts-node/esm --import ./src/sentry-init.ts --enable-source-maps src/main.ts",

"prisma:generate": "prisma generate",
Expand Down

0 comments on commit ae38606

Please sign in to comment.