Skip to content

Commit 5f42b41

Browse files
committed
Fixes run name for report, redundacy in test script
1 parent 3c9df11 commit 5f42b41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
- name: Install modules
1515
run: npm i
1616
- name: Run tests
17-
run: npm run test:ci
17+
run: npm run test -- --ci --reporters=default --reporters=jest-junit
1818
- name: Reports the results of tests
1919
uses: IgnusG/jest-report-action@v2.3.3
2020
if: always() # Or use "continue-on-error: true" in previous test step
2121
with:
2222
access-token: ${{ secrets.GITHUB_TOKEN }}
23+
run-name: test

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"test": "tests"
99
},
1010
"scripts": {
11-
"test": "node --experimental-vm-modules node_modules/.bin/jest",
12-
"test:ci": "npm run test -- --ci --reporters=default --reporters=jest-junit"
11+
"test": "node --experimental-vm-modules node_modules/.bin/jest"
1312
},
1413
"repository": {
1514
"type": "git",

0 commit comments

Comments
 (0)