Skip to content

Commit c376c8d

Browse files
committed
Split test and check jobs in test workflow
1 parent be75c73 commit c376c8d

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/test.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,23 @@ on:
55
pull_request:
66

77
jobs:
8+
check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: pnpm/action-setup@v4
13+
with:
14+
version: 9.15.1+sha512.1acb565e6193efbebda772702950469150cf12bcc764262e7587e71d19dc98a423dff9536e57ea44c49bdf790ff694e83c27be5faa23d67e0c033b583be4bfcf
15+
run_install: false
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 23
19+
cache: pnpm
20+
- run: pnpm install
21+
- run: pnpm run check:ci
22+
823
test:
24+
needs: [check]
925
runs-on: ubuntu-latest
1026
services:
1127
postgres:
@@ -61,7 +77,6 @@ jobs:
6177
node-version: 23
6278
cache: pnpm
6379
- run: pnpm install
64-
- run: pnpm run check:ci
6580
- name: Ensure the directory for test uploads
6681
run: mkdir -p tmp/test_storage
6782
- name: Run the database migrations

0 commit comments

Comments
 (0)