From e9748f4be5f881a7cb1d459db69bce3e4b07a48b Mon Sep 17 00:00:00 2001 From: Jonas Zipprick Date: Fri, 7 Aug 2026 14:21:32 +0200 Subject: [PATCH] fix(prepare-stage): Don't run test in prepare-stage Because Landscape-Based Providers run the prepare stage as part of managed-service creation, and if the prepare stage fails the entire creation fails. Tests should run once before releasing a version, not with every installation of a version. --- ci.prod.yml | 4 ++-- ci.qa.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci.prod.yml b/ci.prod.yml index 5ac8fa6..0fcdddb 100644 --- a/ci.prod.yml +++ b/ci.prod.yml @@ -5,12 +5,12 @@ prepare: command: cd frontend && npm ci - name: install backend dependencies command: cd backend && npm ci +test: + steps: - name: run security audit command: cd backend && npm audit --audit-level moderate - name: run frontend audit command: cd frontend && npm audit --audit-level moderate -test: - steps: - name: run backend tests command: cd backend && npm test - name: run frontend tests diff --git a/ci.qa.yml b/ci.qa.yml index be72e12..f57f55f 100644 --- a/ci.qa.yml +++ b/ci.qa.yml @@ -5,12 +5,12 @@ prepare: command: cd frontend && npm install - name: install backend dependencies command: cd backend && npm install +test: + steps: - name: run linting command: cd backend && npm run lint - name: run frontend linting command: cd frontend && npm run lint -test: - steps: - name: run backend tests command: cd backend && npm test - name: run frontend tests