From f77447f8880a88f7b0b85480441fae60f6ca8281 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 4 Feb 2026 11:18:36 +0000 Subject: [PATCH 1/5] ci: emit test data to codecov --- .github/workflows/ci.yml | 4 ++-- codecov.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 codecov.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f88f1ef4..2f2734728 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,7 +80,7 @@ jobs: run: pnpm install - name: 🧪 Unit tests - run: pnpm test:unit --project unit run --coverage + run: pnpm test:unit run --coverage --reporter=junit --outputFile=test-report.junit.xml test: name: 🧪 Component tests @@ -105,7 +105,7 @@ jobs: run: pnpm playwright install chromium-headless-shell - name: 🧪 Component tests - run: pnpm vite test --project nuxt run --coverage + run: pnpm test:nuxt run --coverage --reporter=junit --outputFile=test-report.junit.xml - name: Upload coverage reports to Codecov uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5 diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..65c9fd1b4 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,15 @@ +coverage: + status: + project: + default: + # Set to false to make this check informational only (won't fail) + informational: true + patch: + default: + # Set to false to make this check informational only (won't fail) + informational: true + +comment: + layout: 'reach,diff,flags,tree,components,tests,build' + behavior: default + require_changes: false From 7bf981bcdb720cda8df28ac4e158f8ee182e19be Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 4 Feb 2026 11:28:19 +0000 Subject: [PATCH 2/5] ci: upload tests + rotate token --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f2734728..d5f2636d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,10 +107,16 @@ jobs: - name: 🧪 Component tests run: pnpm test:nuxt run --coverage --reporter=junit --outputFile=test-report.junit.xml - - name: Upload coverage reports to Codecov + - name: ⬆︎ Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + + - name: ⬆︎ Upload coverage reports to Codecov uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5 env: - CODECOV_TOKEN: 17b4bed9-d407-4ce2-9c10-2ccd4328a1d9 + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} browser: name: 🖥️ Browser tests From 78670a3a76a8fa42f6921555963e13500cc4503a Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 4 Feb 2026 11:32:16 +0000 Subject: [PATCH 3/5] ci: also upload unit tests --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5f2636d9..090b250fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,6 +82,12 @@ jobs: - name: 🧪 Unit tests run: pnpm test:unit run --coverage --reporter=junit --outputFile=test-report.junit.xml + - name: ⬆︎ Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + test: name: 🧪 Component tests runs-on: ubuntu-24.04-arm From 44d7f1e1a1106cdc41a8a16ceb25507c675166ba Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 4 Feb 2026 11:33:06 +0000 Subject: [PATCH 4/5] chore: pin other actions --- .github/workflows/autofix.yml | 4 ++-- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/lunaria.yml | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index d9b63eead..4d78f60d6 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -24,7 +24,7 @@ jobs: with: node-version: lts/* - - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c + - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c name: 🟧 Install pnpm with: cache: true @@ -41,4 +41,4 @@ jobs: - name: 🔠 Fix lint errors run: pnpm lint:fix - - uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 + - uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # 635ffb0c9798bd160680f18fd73371e355b85f27 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 090b250fc..2468c4cc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: node-version: lts/* - - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c + - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c name: 🟧 Install pnpm # pnpm cache skipped deliberately as the project is not actually installed here @@ -49,7 +49,7 @@ jobs: with: node-version: lts/* - - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c + - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c name: 🟧 Install pnpm with: cache: true @@ -71,7 +71,7 @@ jobs: with: node-version: lts/* - - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c + - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c name: 🟧 Install pnpm with: cache: true @@ -84,7 +84,7 @@ jobs: - name: ⬆︎ Upload test results to Codecov if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 + uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -99,7 +99,7 @@ jobs: with: node-version: lts/* - - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c + - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c name: 🟧 Install pnpm with: cache: true @@ -115,7 +115,7 @@ jobs: - name: ⬆︎ Upload test results to Codecov if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 + uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -137,7 +137,7 @@ jobs: with: node-version: lts/* - - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c + - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c name: 🟧 Install pnpm with: cache: true @@ -165,7 +165,7 @@ jobs: with: node-version: lts/* - - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c + - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c name: 🟧 Install pnpm with: cache: true @@ -193,7 +193,7 @@ jobs: with: node-version: lts/* - - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c + - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c name: 🟧 Install pnpm with: cache: true diff --git a/.github/workflows/lunaria.yml b/.github/workflows/lunaria.yml index 44b695e10..5a920f435 100644 --- a/.github/workflows/lunaria.yml +++ b/.github/workflows/lunaria.yml @@ -32,7 +32,7 @@ jobs: with: node-version: lts/* - - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c + - uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c # 1e1c8eafbd745f64b1ef30a7d7ed7965034c486c name: 🟧 Install pnpm with: cache: true @@ -41,4 +41,4 @@ jobs: run: pnpm install - name: Generate Lunaria Overview - uses: lunariajs/action@v1-prerelease + uses: lunariajs/action@4911ad0736d1e3b20af4cb70f5079aea2327ed8e # v1-prerelease From 66b1f68c2c582c171c0850b23f9ce10bf97023c8 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 4 Feb 2026 11:33:58 +0000 Subject: [PATCH 5/5] chore: remove inverted comments --- codecov.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/codecov.yml b/codecov.yml index 65c9fd1b4..75f04d965 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,11 +2,9 @@ coverage: status: project: default: - # Set to false to make this check informational only (won't fail) informational: true patch: default: - # Set to false to make this check informational only (won't fail) informational: true comment: