mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-04-25 01:39:14 -04:00
Run mocha tests properly
This commit is contained in:
parent
8443d3e397
commit
f92edf0026
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -130,7 +130,7 @@ jobs:
|
|||||||
working-directory: js
|
working-directory: js
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: npm test --reporter-option output=mocha-results.xml
|
run: npm ci-test
|
||||||
working-directory: js
|
working-directory: js
|
||||||
|
|
||||||
- name: Upload Test Results
|
- name: Upload Test Results
|
||||||
@ -138,7 +138,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Test Results (Mocha)
|
name: Test Results (Mocha)
|
||||||
path: tst/mocha-results.xml
|
path: js/mocha-results.xml
|
||||||
|
|
||||||
publish-test-results:
|
publish-test-results:
|
||||||
name: "Publish Tests Results"
|
name: "Publish Tests Results"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user