From 2788e13640524cc2b2cbba411ddb9217cba0e0af Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 5 Dec 2024 10:49:39 +0100 Subject: [PATCH] Runner: attempt to get tests working --- .github/workflows/deploy_hosted.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_hosted.yml b/.github/workflows/deploy_hosted.yml index ca25e6aa8..a2ada3790 100644 --- a/.github/workflows/deploy_hosted.yml +++ b/.github/workflows/deploy_hosted.yml @@ -35,7 +35,12 @@ jobs: run: | pwd ls - npm run test + # This is the same as `npm run test`, but `vitest` doesn't want to run within npm :shrug: + export NODE_OPTIONS="--max-old-space-size=8192" + npm run clean:tests + npm run generate:doctests 2>&1 | grep -v "No doctests found in" + vitest --run test + npm run clean:tests shell: bash - name: Prepare deploy