From 27228a881f85906754a9041ffc79927f593ae8f7 Mon Sep 17 00:00:00 2001 From: Ben Loe Date: Tue, 16 Jan 2024 13:51:16 -0500 Subject: [PATCH] Pin Knip version to 4 (#7344) Co-authored-by: Ben Loe --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a374dd2c37..03d63cc0a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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