Skip to content

Commit 9bcf05f

Browse files
committed
Split the lint and test jobs so we can see tests running during draft work
1 parent 6ec50f8 commit 9bcf05f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/ci.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010
- cron: '0 0 * * *'
1111

1212
jobs:
13-
test:
14-
name: Lint & Test
13+
lint:
14+
name: Lint
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
@@ -22,6 +22,18 @@ jobs:
2222
cache: pnpm
2323
- run: pnpm install --frozen-lockfile
2424
- run: pnpm lint
25+
26+
test:
27+
name: Test
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
- uses: pnpm/action-setup@v4
32+
- uses: actions/setup-node@v4
33+
with:
34+
node-version: 18
35+
cache: pnpm
36+
- run: pnpm install --frozen-lockfile
2537
- run: pnpm test
2638
- uses: sarisia/actions-status-discord@v1
2739
if: ${{ failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}

0 commit comments

Comments
 (0)