From 3b51ec739678c552d8962c4d3e24121dfc03a083 Mon Sep 17 00:00:00 2001 From: Arnei Date: Fri, 13 Nov 2026 11:36:41 +0100 Subject: [PATCH] Run ci tests before deploy Fixes #1054. We already have these tests running on pull requests. Might as well run them on deploy too and get #1054 closed. --- .github/workflows/deploy-main-branches.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-main-branches.yml b/.github/workflows/deploy-main-branches.yml index ab16821cc..72c06e938 100644 --- a/.github/workflows/deploy-main-branches.yml +++ b/.github/workflows/deploy-main-branches.yml @@ -65,6 +65,9 @@ jobs: - name: Run npm ci run: npm ci + - name: Execute Vitest tests + run: npm run test + - name: Build the app run: | # This set the editor's datasource to the relevant test server @@ -77,11 +80,6 @@ jobs: PUBLIC_URL: ${{needs.detect-repo-owner.outputs.branch}} VITE_APP_SETTINGS_PATH: editor-settings.toml - # tests are currently failing - #- run: npm test - # env: - # CI: true - - name: Prepare git run: | git config --global user.name "Editor Deployment Bot"