ci: move unit tests into dedicated unit-test job
CI Tests / JS Unit Tests (pull_request) Successful in 11s
Philipp/Global-Workflows: Pre-commit Lint (Scoped) / pre-commit (pull_request) Successful in 1m16s
CI Tests / cross-check-mixed-sbom (sbom=false) (pull_request) Successful in 5m57s
CI Tests / without-inbuild-sbom (sbom=false) (pull_request) Successful in 5m39s
CI Tests / cross-check-mixed-sbom (sbom=true) (pull_request) Successful in 5m58s
CI Tests / without-inbuild-sbom (sbom=true) (pull_request) Successful in 5m34s
CI Tests / with-inbuild-sbom (sbom=false) (pull_request) Successful in 5m38s
CI Tests / with-inbuild-sbom (sbom=true) (pull_request) Successful in 5m57s

This commit is contained in:
Philipp committed 2026-09-14 22:29:21 +02:00
1 parent d89fb25d7b
commit f31be5eef6
1 file changed
+12 -4
+12 -4
View File
@@ -10,8 +10,20 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: 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: test:
name: ${{ matrix.image_set.name }} (sbom=${{ matrix.use_inbuild_sbom }}) name: ${{ matrix.image_set.name }} (sbom=${{ matrix.use_inbuild_sbom }})
needs: unit-test
runs-on: k8s runs-on: k8s
strategy: strategy:
fail-fast: false fail-fast: false
@@ -46,10 +58,6 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Run JS Unit Tests
shell: bash
run: node --test
- name: Test CVE Differential Action - name: Test CVE Differential Action
uses: ./ uses: ./
with: with: