File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 2525 - uses : oven-sh/setup-bun@v2
2626 with :
2727 bun-version : latest
28- - run : bun i --frozen-lockfile
28+ - run : bun install:production
2929 - run : bunx prisma db push
3030 working-directory : server
3131
3838 - uses : oven-sh/setup-bun@v2
3939 with :
4040 bun-version : latest
41- - run : bun install --frozen-lockfile
41+ - run : bun install:production
4242 - run : bun run build
4343
4444 biome :
5353 with :
5454 version : latest
5555
56- - run : bun install --frozen-lockfile
56+ - run : bun install:production
5757 - run : bun style:check
5858
5959 type-check :
6464 - uses : oven-sh/setup-bun@v2
6565 with :
6666 bun-version : latest
67- - run : bun install --frozen-lockfile
67+ - run : bun install:production
6868 - run : bun type
6969
7070 spell-check :
7676 with :
7777 bun-version : latest
7878
79- - run : bun install --frozen-lockfile
79+ - run : bun install:production
8080 - run : bun spell .
8181
8282 test :
8686 steps :
8787 - uses : actions/checkout@v4
8888 - uses : oven-sh/setup-bun@v2
89- - run : bun install --frozen-lockfile
89+ - run : bun install:production
9090 - run : bun run test
9191
9292 deploy-test-web :
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RUN test -n "${SQL_GENERATE_URL}"
1414ENV DATABASE_URL=$SQL_GENERATE_URL
1515ENV DIRECT_URL=$SQL_GENERATE_URL
1616COPY . .
17- RUN --mount=type=cache,target=~/.bun/install bun install --frozen-lockfile --ignore-scripts
17+ RUN --mount=type=cache,target=~/.bun/install bun install:production
1818RUN cd server; bun prisma generate --sql
1919RUN cd server; bun run :build
2020
Original file line number Diff line number Diff line change 1313 "keywords" : [],
1414 "license" : " ISC" ,
1515 "scripts" : {
16+ "install:production" : " bun install --frozen-lockfile --ignore-scripts" ,
1617 "prepare" : " lefthook install && (cd server; bun run prepare)" ,
1718 "check" : " bun type && bun style:check" ,
1819 "style" : " biome check . --fix" ,
You can’t perform that action at this time.
0 commit comments