Skip to content

Commit

Permalink
Fix #3533: Add unit tests to nightly and pr builds (#3538)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Oct 31, 2022
1 parent 6264574 commit 8945914
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,8 @@ jobs:
if: ${{ success() }}
run: |
npm run security:check
- name: Unit Tests Check
if: ${{ success() }}
run: |
npm run test:check
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"build:lib": "NODE_ENV=production INPUT_DIR=components/lib/ OUTPUT_DIR=dist/ npm run build:package",
"build:package": "npm run build:check && rollup -c && gulp build-resources && npm run build:api",
"build:api": "node ./api-generator/build-api.js",
"build:check": "npm run lint && npm run format:check && npm run type:check && npm run security:check",
"build:check": "npm run lint && npm run format:check && npm run type:check && npm run security:check && npm run test:check",
"security:check": "npm audit --production --audit-level high",
"format": "prettier --write \"{components,pages,service,api-generator}/**/*.{js,ts,tsx}\"",
"format:check": "prettier --check \"{components,pages,service,api-generator}/**/*.{js,ts,tsx}\"",
"lint": "next lint --max-warnings=0",
"lint:fix": "next lint --fix",
"type:check": "tsc",
"test": "jest --watch --coverage"
"test": "jest --watch --coverage",
"test:check": "jest --watchAll=false --coverage"
},
"dependencies": {
"chart.js": "3.9.1",
Expand Down

0 comments on commit 8945914

Please sign in to comment.