From ed4009504dfa70e64454ea7cd31c5919392c90dd Mon Sep 17 00:00:00 2001 From: Guido Flohr Date: Wed, 8 Jan 2025 19:30:52 +0200 Subject: [PATCH] integrate coveralls --- .github/workflows/ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d5da910..1d13470 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,6 +14,10 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] node-version: [18, 20, 22] + include: + - node-version: '22' + os: ubuntu-latest + coverage: true steps: - name: Checkout code @@ -32,3 +36,10 @@ jobs: - name: Run tests run: bun run test + + - name: Upload coverage + uses: coverallsapp/github-action@v2 + if: ${{ matrix.coverage }} + run: bun run test:cov + with: + github-token: ${{ secrets.GITHUB_TOKEN }}