Skip to content

Add knip linter and fix all unused dependencies and exports #1

Add knip linter and fix all unused dependencies and exports

Add knip linter and fix all unused dependencies and exports #1

name: Checking package dependencies with knip and lerna
on:
# Runs for every pull-requests created
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
knip:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build TKO
run: make
- name: Check for dependency cycles and faulty imports/exports with knip
run: make knip
- name: Check lerna packages
run: make lerna-check