Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
with:
node-version: 22
- run: npm ci --ignore-scripts --no-audit --no-fund
- run: npx c8 --reporter=lcov npm test
- run: npm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}

lint-package:
name: Lint package
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand All @@ -59,7 +59,6 @@ jobs:
- run: npm run build
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- run: npm run lint-package

knip:
name: Lint unused code
Expand Down
3 changes: 1 addition & 2 deletions knip.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import type { KnipConfig } from 'knip'

const config: KnipConfig = {
entry: ['src/index.ts'],
project: ['src/**/*.ts'],
ignoreDependencies: ['prettier'],
ignoreDependencies: ['prettier', '@vitest/coverage-v8'],
}

export default config
Loading
Loading