Skip to content

Commit e085e21

Browse files
gui-uxdoccomclaude
andcommitted
Add CI workflow to validate builds on PRs
Runs npm build and TypeScript type-checking on every pull request and push to main. Use as a required status check in branch protection. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent da36a2d commit e085e21

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v5
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
cache: npm
18+
- run: npm ci
19+
- run: npm run build
20+
- run: npx tsc --noEmit -p tsconfig.plugin.json
21+
- run: npx tsc --noEmit -p tsconfig.json

0 commit comments

Comments
 (0)