Skip to content

Commit

Permalink
Pin Knip version to 4 (#7344)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Loe <[email protected]>
  • Loading branch information
BLoe and Ben Loe authored Jan 16, 2024
1 parent b27314d commit 27228a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
cache: npm
- run: npm ci
# https://knip.dev/overview/getting-started#without-installation
- run: npm install -D knip
- run: npm install -D knip@4
# Do a run without an exit code. Knip's "warn" setting is not working for files and devDependencies.
- run: npm run dead-code -- --config knip.mjs --no-exit-code
- run: npm run dead-code -- --config knip.mjs --include files,duplicates,dependencies,classMembers,binaries,enumMembers,nsTypes,exports,nsExports
Expand Down

0 comments on commit 27228a8

Please sign in to comment.