Skip to content

Commit fb09fe9

Browse files
psatomasclaude
andcommitted
Stage 7: CI (GitHub Actions)
- Add .github/workflows/ci.yml: runs on PRs and pushes to main - Installs deps (npm ci), runs lint (eslint) and build (next build, which also runs the TypeScript check) - Node 26 to match the local dev environment, npm dependency caching Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent c258028 commit fb09fe9

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: "26"
19+
cache: "npm"
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Lint
25+
run: npm run lint
26+
27+
- name: Build
28+
run: npm run build

0 commit comments

Comments
 (0)