Skip to content

Commit

Permalink
chore: fixed knip run
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jun 20, 2024
1 parent ff44b69 commit fcfd3d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/knip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ jobs:
with:
node-version: 20.10.0

- uses: oven-sh/setup-bun@v1

- name: Install toolchain
run: yarn install
run: bun install

- name: Store PR number
run: echo ${{ github.event.number }} > pr-number.txt

- name: Run Knip
run: yarn knip || yarn knip --reporter json > knip-results.json
run: bun knip || bun knip --reporter json > knip-results.json

- name: Upload knip result
if: failure()
Expand Down

0 comments on commit fcfd3d6

Please sign in to comment.