From cc2a94d904469bd5f8da1921356936afd682f4d9 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 9 Jan 2025 14:18:52 +0000 Subject: [PATCH] Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/workflows/tests.yml | 1 - knip.ts | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fee25f97e5..139737f362 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -88,7 +88,6 @@ jobs: # @tenbin/jest/reporter generates tenbin-report.json for each shard. - name: Upload tenbin-report.json - if: github.ref_name == 'main' uses: actions/upload-artifact@v4 with: name: tenbin-report-${{ matrix.runner }} diff --git a/knip.ts b/knip.ts index 0b40c92cab..ed0dac4b27 100644 --- a/knip.ts +++ b/knip.ts @@ -11,7 +11,11 @@ export default { "test/**", "res/decoder-ring/**", ], - project: ["**/*.{js,ts,jsx,tsx}"], + project: [ + "**/*.{js,ts,jsx,tsx}", + // This throws an error trying to load tenbin - https://knip.dev/reference/known-issues#exceptions-from-config-files + "!src/playwright.config.ts", + ], ignore: [ "docs/**", "res/jitsi_external_api.min.js", @@ -21,8 +25,6 @@ export default { "src/hooks/useLocalStorageState.ts", "src/components/views/elements/InfoTooltip.tsx", "src/components/views/elements/StyledCheckbox.tsx", - // This throws an error trying to load tenbin for an unknown reason - "src/playwright.config.ts", ], ignoreDependencies: [ // Required for `action-validator`