Skip to content

Commit a661c0c

Browse files
committed
fix ci
1 parent 06df165 commit a661c0c

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
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

@@ -38,7 +38,7 @@ jobs:
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:
@@ -53,7 +53,7 @@ jobs:
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:
@@ -64,7 +64,7 @@ jobs:
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:
@@ -76,7 +76,7 @@ jobs:
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:
@@ -86,7 +86,7 @@ jobs:
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:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN test -n "${SQL_GENERATE_URL}"
1414
ENV DATABASE_URL=$SQL_GENERATE_URL
1515
ENV DIRECT_URL=$SQL_GENERATE_URL
1616
COPY . .
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
1818
RUN cd server; bun prisma generate --sql
1919
RUN cd server; bun run :build
2020

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
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",

0 commit comments

Comments
 (0)