From b04314b514aaf033a159db59d514c60e06ba3d35 Mon Sep 17 00:00:00 2001 From: sickn33 Date: Sun, 29 Mar 2026 09:28:14 +0200 Subject: [PATCH] ci(web): Install app deps before coverage Install apps/web-app dependencies before running the dedicated coverage step in CI and publish workflows. This fixes the failing main workflow where app:test:coverage could not find vitest on GitHub runners because the web-app package had not been installed yet. --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/publish-npm.yml | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b52f62dc..fe9b6b06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,6 +109,9 @@ jobs: ENABLE_NETWORK_TESTS: "1" run: npm run test + - name: Install web-app dependencies + run: npm run app:install + - name: Run web app coverage run: npm run app:test:coverage @@ -229,6 +232,9 @@ jobs: ENABLE_NETWORK_TESTS: "1" run: npm run test + - name: Install web-app dependencies + run: npm run app:install + - name: Run web app coverage run: npm run app:test:coverage diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 8c94307d..ac7079f2 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -48,15 +48,15 @@ jobs: - name: Run tests run: npm run test + - name: Install web-app dependencies + run: npm run app:install + - name: Run web app coverage run: npm run app:test:coverage - name: Run docs security checks run: npm run security:docs - - name: Install web-app dependencies - run: npm run app:install - - name: Build web app run: npm run app:build