From 63afbbe425a870db0986d3cfbc3af9865a3b5c93 Mon Sep 17 00:00:00 2001 From: Orkun Date: Fri, 17 Jul 2026 12:28:18 +0300 Subject: [PATCH 1/5] chore: use coveralls for badge generation --- .github/workflows/docs-and-coverage.yml | 3 +++ README.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-and-coverage.yml b/.github/workflows/docs-and-coverage.yml index f9cf0c0..9e044e8 100644 --- a/.github/workflows/docs-and-coverage.yml +++ b/.github/workflows/docs-and-coverage.yml @@ -11,3 +11,6 @@ jobs: uses: fingerprintjs/dx-team-toolkit/.github/workflows/docs-and-coverage.yml@v1 with: run-after-install: pnpm generate:version + prepare-gh-pages-commands: | + mv docs ./gh-pages + rm -rf ./gh-pages/coverage diff --git a/README.md b/README.md index aeb3bba..92bb846 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ CI badge - - coverage + + Coverage Status Current NPM version From d9c6b1a4f1f4ea6af190f7254c76f83a3de76a9a Mon Sep 17 00:00:00 2001 From: Orkun Date: Fri, 17 Jul 2026 12:58:25 +0300 Subject: [PATCH 2/5] chore: fix test:dts error --- tsconfig.test-dts.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tsconfig.test-dts.json b/tsconfig.test-dts.json index 94f076b..6793ef5 100644 --- a/tsconfig.test-dts.json +++ b/tsconfig.test-dts.json @@ -8,14 +8,17 @@ "es2020", "dom" ], - "skipLibCheck": true, + "skipLibCheck": false, "noEmit": true, "isolatedModules": true, + "strict": true, + "experimentalDecorators": true, + "types": [], "paths": { "@fingerprint/angular": ["dist/fingerprintjs-pro-angular"] } }, "include": [ - "dist/fingerprintjs-pro-angular/index.d.ts" + "dist/fingerprintjs-pro-angular/**/*.d.ts" ] } From 2ea547f896d9a11e9d67ba134f1cc896a442a003 Mon Sep 17 00:00:00 2001 From: Orkun <5910168+Orkuncakilkaya@users.noreply.github.com> Date: Fri, 17 Jul 2026 13:00:43 +0300 Subject: [PATCH 3/5] refactor: use double quotes for html on readme Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 92bb846..0b6f573 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ CI badge - - Coverage Status + + Coverage Status Current NPM version From 101e070aa39c450fda0e3c67cb911a5d366867e8 Mon Sep 17 00:00:00 2001 From: Orkun Date: Wed, 29 Jul 2026 13:24:45 +0300 Subject: [PATCH 4/5] chore(ci): simplify workflows by reusing dx-team-toolkit templates --- .github/workflows/coverage-diff.yml | 38 +++---------------------- .github/workflows/docs-and-coverage.yml | 12 ++++++-- 2 files changed, 13 insertions(+), 37 deletions(-) diff --git a/.github/workflows/coverage-diff.yml b/.github/workflows/coverage-diff.yml index 8643e9e..9f19439 100644 --- a/.github/workflows/coverage-diff.yml +++ b/.github/workflows/coverage-diff.yml @@ -5,41 +5,11 @@ on: jobs: run-tests-check-coverage: - name: Run tests & check coverage runs-on: ubuntu-latest + name: Run tests & check coverage permissions: checks: write pull-requests: write - - steps: - - name: Checkout the repository - uses: actions/checkout@v7 - - - name: Install pnpm - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 - - - name: Install latest node version - uses: actions/setup-node@v6 - with: - node-version: '22' - cache: 'pnpm' - - - name: Install Node packages - run: pnpm install --frozen-lockfile - - - name: Generate version - run: pnpm generate:version - - - name: Build - run: pnpm build - - - name: Run tests and prepare coverage report - run: pnpm test:coverage - - - name: Send Coverage to Coveralls - uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: coverage/lcov.info - # make it optional to not fail the whole job if coveralls fails - continue-on-error: true + uses: fingerprintjs/dx-team-toolkit/.github/workflows/coverage-diff.yml@v1 + with: + runAfterInstall: pnpm generate:version diff --git a/.github/workflows/docs-and-coverage.yml b/.github/workflows/docs-and-coverage.yml index 9e044e8..bf8a5a1 100644 --- a/.github/workflows/docs-and-coverage.yml +++ b/.github/workflows/docs-and-coverage.yml @@ -11,6 +11,12 @@ jobs: uses: fingerprintjs/dx-team-toolkit/.github/workflows/docs-and-coverage.yml@v1 with: run-after-install: pnpm generate:version - prepare-gh-pages-commands: | - mv docs ./gh-pages - rm -rf ./gh-pages/coverage + send-coverage-to-coveralls: + steps: + - name: Send Coverage to Coveralls + uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: coverage/lcov.info + # make it optional to not fail the whole job if coveralls fails + continue-on-error: true From 20e96562d1cc742ad68fd1562ba553296297dc5c Mon Sep 17 00:00:00 2001 From: Orkun Date: Wed, 29 Jul 2026 13:31:20 +0300 Subject: [PATCH 5/5] chore(ci): add Coveralls step to coverage workflow --- .github/workflows/coverage-diff.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/coverage-diff.yml b/.github/workflows/coverage-diff.yml index 9f19439..339900a 100644 --- a/.github/workflows/coverage-diff.yml +++ b/.github/workflows/coverage-diff.yml @@ -13,3 +13,12 @@ jobs: uses: fingerprintjs/dx-team-toolkit/.github/workflows/coverage-diff.yml@v1 with: runAfterInstall: pnpm generate:version + send-coverage-to-coveralls: + steps: + - name: Send Coverage to Coveralls + uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: coverage/lcov.info + # make it optional to not fail the whole job if coveralls fails + continue-on-error: true