From 9e00c74856f7b0dd6b07857e4064b5acebe0f2b9 Mon Sep 17 00:00:00 2001 From: alex-omophub Date: Sun, 31 May 2026 14:57:55 +0100 Subject: [PATCH 1/2] Add Codecov integration to CI workflow for coverage report uploads --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 528270e..f4f67de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,11 @@ jobs: - run: npm run lint - run: npm run typecheck - run: npm test + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: OMOPHub/omophub-node integration: # Only run on push or manual dispatch *and* only on main/develop. From 780f00e72e2f0052295da160be1af6e3ae45a0bb Mon Sep 17 00:00:00 2001 From: alex-omophub Date: Sun, 31 May 2026 15:02:00 +0100 Subject: [PATCH 2/2] Update version to 1.0.0 in package-lock.json and add coverage testing step to CI workflow --- .github/workflows/ci.yml | 1 + package-lock.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4f67de..8564a99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,7 @@ jobs: - run: npm run lint - run: npm run typecheck - run: npm test + - run: npm run test:coverage - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5 with: diff --git a/package-lock.json b/package-lock.json index 8f67a32..014ec9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@omophub/omophub-node", - "version": "0.0.1", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@omophub/omophub-node", - "version": "0.0.1", + "version": "1.0.0", "license": "MIT", "devDependencies": { "@biomejs/biome": "^2.4.4",