File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
build :
9
- name : CI - Whim Build
9
+ name : CI - Whim Lint & Build
10
10
runs-on : ubuntu-22.04
11
11
12
12
steps :
13
13
- name : Checkout code
14
14
uses : actions/checkout@v4
15
-
15
+
16
16
- name : Install Bun
17
17
uses : oven-sh/setup-bun@v2
18
18
32
32
uses :
webfactory/[email protected]
33
33
with :
34
34
ssh-private-key : ${{ secrets.VPS_KEY }}
35
-
35
+
36
36
- name : SSH and Deploy
37
37
run : |
38
38
ssh -o StrictHostKeyChecking=no ${{ secrets.VPS_USER }}@${{ secrets.VPS_HOST }} << 'EOF'
Original file line number Diff line number Diff line change 5
5
"private" : true ,
6
6
"scripts" : {
7
7
"dev" : " bunx --bun vite dev" ,
8
- "build" : " vite build" ,
8
+ "build" : " bun lint && bunx --bun vite build" ,
9
9
"start" : " bun run .output/server/index.mjs" ,
10
+ "lint" : " bunx --bun eslint ." ,
10
11
"db:generate" : " drizzle-kit generate" ,
11
12
"db:migrate" : " drizzle-kit migrate" ,
12
13
"db:studio" : " drizzle-kit studio"
You can’t perform that action at this time.
0 commit comments