Skip to content

Commit

Permalink
ci: use bun instead of npm
Browse files Browse the repository at this point in the history
  • Loading branch information
jellydn committed May 26, 2024
1 parent 090aa17 commit cc2f49b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/knip.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
name: Lint project with knip

on: push

jobs:
lint:
runs-on: ubuntu-latest
name: Ubuntu/Node v20
name: Lint project with knip
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Checkout repo
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Run knip
run: npx knip
run: bunx knip

0 comments on commit cc2f49b

Please sign in to comment.