Skip to content

Commit

Permalink
lint, add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Apr 28, 2023
1 parent 7a182ee commit 66bb7c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ jobs:

- name: Run Test API
run: npm run test

- name: Coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./pkgs/api/coverage/cobertura-coverage.xml,./pkgs/app/coverage/cobertura-coverage.xml
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"build:watch": "tsc -w",
"dev": "node dist/index.js",
"test": "vitest"
"test": "vitest",
"lint": "eslint --ext .js,.ts,.tsx ."
},
"author": "",
"license": "ISC",
Expand Down
2 changes: 0 additions & 2 deletions src/rules/spec/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@


import './docker';
import './nodejs';

0 comments on commit 66bb7c2

Please sign in to comment.