From aee5ce367e5edb0e49eed859081e97b1823055ac Mon Sep 17 00:00:00 2001 From: Yi-Cyuan Chen Date: Sat, 18 Jul 2026 17:45:41 +0800 Subject: [PATCH] Fix uploading coverage to coveralls --- .github/workflows/ci.yml | 5 ++++- CHANGELOG.md | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27a4527..b19196a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 22.x] + node-version: [14.x, 16.x, 18.x, 20.x, 22.x] steps: - name: Checkout code uses: actions/checkout@v4 @@ -27,15 +27,18 @@ jobs: run: npm ci - name: Build + if: matrix.node-version == '22.x' run: npm run build - name: Run tests run: npm test - name: Generate coverage report + if: matrix.node-version == '22.x' run: npm run coverage - name: Upload to coveralls + if: matrix.node-version == '22.x' uses: coverallsapp/github-action@v2 with: file: ./coverage.lcov diff --git a/CHANGELOG.md b/CHANGELOG.md index 86d0b5e..a1269a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,10 @@ ## v0.12.0 / 2026-07-18 ### Added -- support ESM +- support ESM #44 + +### Fixed +- Fix uploading coverage to coveralls #52 ## v0.11.1 / 2025-05-24 ### Fixed