mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-02-12 05:42:07 +00:00
Fixed Tests GitHub Action
This commit is contained in:
parent
3a095e2096
commit
f4426fc2a4
2 changed files with 3 additions and 2 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
||||||
run: yarn coverage
|
run: yarn coverage
|
||||||
|
|
||||||
- name: Generate junit.xml
|
- name: Generate junit.xml
|
||||||
run: JEST_JUNIT_CLASSNAME=\"{filepath}\" jest --reporters=jest-junit
|
run: yarn generate-junit
|
||||||
|
|
||||||
- name: Upload results to Codecov
|
- name: Upload results to Codecov
|
||||||
uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v5
|
||||||
|
|
|
@ -12,7 +12,8 @@
|
||||||
"format": "prettier --check --ignore-path .prettierignore .",
|
"format": "prettier --check --ignore-path .prettierignore .",
|
||||||
"format:fix": "prettier --write --ignore-path .prettierignore .",
|
"format:fix": "prettier --write --ignore-path .prettierignore .",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"coverage": "jest --coverage"
|
"coverage": "jest --coverage",
|
||||||
|
"generate-junit": "JEST_JUNIT_CLASSNAME=\"{filepath}\" jest --reporters=jest-junit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@arcjet/next": "^1.0.0-alpha.34",
|
"@arcjet/next": "^1.0.0-alpha.34",
|
||||||
|
|
Loading…
Add table
Reference in a new issue