forked from MapComplete/MapComplete
Chore: runners: fix vitest on both github and forgejo
This commit is contained in:
parent
48c3615ad6
commit
7b70a0e4a9
1 changed files with 7 additions and 1 deletions
8
.github/workflows/deploy_hosted.yml
vendored
8
.github/workflows/deploy_hosted.yml
vendored
|
@ -45,7 +45,13 @@ jobs:
|
||||||
export NODE_OPTIONS="--max-old-space-size=8192"
|
export NODE_OPTIONS="--max-old-space-size=8192"
|
||||||
npm run clean:tests
|
npm run clean:tests
|
||||||
npm run generate:doctests 2>&1 | grep -v "No doctests found in"
|
npm run generate:doctests 2>&1 | grep -v "No doctests found in"
|
||||||
vitest --run test
|
if which vitest
|
||||||
|
then
|
||||||
|
vitest --run test
|
||||||
|
else
|
||||||
|
npm run test
|
||||||
|
fi
|
||||||
|
|
||||||
npm run clean:tests
|
npm run clean:tests
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue