Skip to content

Commit f61ef6f

Browse files
author
jojohoooo
committed
1. fix script for bun
2. fix workflow for bun
1 parent fdb9c45 commit f61ef6f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/code-check-2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
node-version: 18
3434

3535
- name: Setup bun
36-
uses: oven-sh/bun@v1.0
36+
uses: oven-sh/bun@v1
3737
with:
38-
version: 1.0.0
38+
bun-version: latest
3939

4040
- name: Install deps
4141
run: bun install

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"db:push": "drizzle-kit push:mysql",
1616
"db:introspect": "drizzle-kit introspect:mysql",
1717
"db:studio": "drizzle-kit studio --port 5000 --verbose",
18-
"shadcn:add": "bun dlx shadcn-ui@latest add",
18+
"shadcn:add": "bunx shadcn-ui@latest add",
1919
"email:dev": "email dev --dir src/components/emails -p 3001",
2020
"stripe:listen": "stripe listen --forward-to localhost:3000/api/webhooks/stripe --latest",
21-
"unlighthouse": "bun dlx unlighthouse --site https://skateshop.sadmn.com"
21+
"unlighthouse": "bunx unlighthouse --site https://skateshop.sadmn.com"
2222
},
2323
"dependencies": {
2424
"@clerk/nextjs": "^4.23.5",

0 commit comments

Comments
 (0)