From f31be5eef6a5bd41c4d616a39d64e8da77ae930d Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Mon, 14 Sep 2026 22:29:21 +0200 Subject: [PATCH] ci: move unit tests into dedicated unit-test job --- .gitea/workflows/test.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 0d30e82..f26619c 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -10,8 +10,20 @@ on: workflow_dispatch: jobs: + unit-test: + name: JS Unit Tests + runs-on: k8s + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Run JS Unit Tests + shell: bash + run: node --test + test: name: ${{ matrix.image_set.name }} (sbom=${{ matrix.use_inbuild_sbom }}) + needs: unit-test runs-on: k8s strategy: fail-fast: false @@ -46,10 +58,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Run JS Unit Tests - shell: bash - run: node --test - - name: Test CVE Differential Action uses: ./ with: