Skip to content

Commit c566b81

Browse files
authored
chore: add github action to run knip on push
1 parent e9a3a13 commit c566b81

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Declutter Dependencies
2+
3+
on: push
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
name: Ubuntu/Node v20
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v5
12+
with:
13+
node-version: 22
14+
- name: Install dependencies
15+
run: npm ci
16+
- name: Run knip
17+
run: npx knip
18+
19+
20+
21+

0 commit comments

Comments
 (0)