Skip to content

Commit 93a986d

Browse files
committed
chore: add knip job to main workflow
1 parent 6e441b6 commit 93a986d

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,24 @@ jobs:
7474
CYPRESS_INSTALL_BINARY: 0
7575
- name: run type-check
7676
run: npm run type-check
77+
knip:
78+
name: run knip
79+
runs-on: ubuntu-latest
80+
needs: [packages]
81+
steps:
82+
- name: checkout
83+
uses: actions/checkout@v5
84+
- name: setup Node
85+
uses: actions/setup-node@v4
86+
with:
87+
node-version-file: ./.node-version
88+
cache: npm
89+
- name: npm ci
90+
run: npm ci
91+
env:
92+
CYPRESS_INSTALL_BINARY: 0
93+
- name: run knip
94+
run: npm run knip
7795
build:
7896
name: run build
7997
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)