Skip to content

Commit a4bdcb5

Browse files
talissoncostaclaude
andcommitted
Split CI into 3 parallel jobs: lint, typecheck, build
Runs lint, TypeScript check, and build in parallel for faster CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 1d87124 commit a4bdcb5

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
branches: [main]
88

99
jobs:
10-
lint-and-build:
11-
name: Lint & Build
10+
lint:
11+
name: Lint
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout code
@@ -26,5 +26,40 @@ jobs:
2626
- name: Run lint
2727
run: yarn lint
2828

29-
- name: Build (TypeScript + Bundle)
29+
typecheck:
30+
name: TypeScript
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout code
34+
uses: actions/checkout@v4
35+
36+
- name: Setup Node.js
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: '22'
40+
cache: 'yarn'
41+
42+
- name: Install dependencies
43+
run: yarn install --frozen-lockfile
44+
45+
- name: TypeScript check
46+
run: yarn tsc
47+
48+
build:
49+
name: Build
50+
runs-on: ubuntu-latest
51+
steps:
52+
- name: Checkout code
53+
uses: actions/checkout@v4
54+
55+
- name: Setup Node.js
56+
uses: actions/setup-node@v4
57+
with:
58+
node-version: '22'
59+
cache: 'yarn'
60+
61+
- name: Install dependencies
62+
run: yarn install --frozen-lockfile
63+
64+
- name: Build package
3065
run: yarn build:all

0 commit comments

Comments
 (0)