Skip to content

Commit

Permalink
enable gh actions reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmortar committed Aug 9, 2024
1 parent 8a88caf commit 649d49e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
run: cp ./.env.test.example ./.env.test
- name: Test
run: npm run test:cov
- name: Run CTRF annotations
run: npx github-actions-ctrf ./coverage/coverage-final.json

build:
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "xss-scan && NODE_ENV=test jest",
"test:watch": "xss-scan && NODE_ENV=test jest --watch",
"test:cov": "xss-scan && NODE_ENV=test jest --verbose --coverage",
"test:cov": "xss-scan && NODE_ENV=test jest --coverage",
"test:debug": "xss-scan && NODE_ENV=test node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"migrate:dev": "prisma migrate dev",
"migrate:dev:create": "prisma migrate dev --create-only",
Expand Down Expand Up @@ -115,6 +115,10 @@
},
"browserslist": "last 2 versions",
"jest": {
"reporters": [
"default",
"github-actions"
],
"moduleFileExtensions": [
"js",
"json",
Expand Down

0 comments on commit 649d49e

Please sign in to comment.