File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PR Check (Lint & Build)
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ jobs :
9+ validate :
10+ name : Validate PR (lint + build)
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout PR code
15+ uses : actions/checkout@v3
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v3
19+ with :
20+ node-version : 20
21+ cache : ' npm'
22+
23+ - name : Install dependencies
24+ run : npm ci
25+
26+ - name : Lint code
27+ run : npm run lint
28+
29+ - name : Build project
30+ run : npm run build
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ Built with:
26267 . ✅ ** Example Component** with SCSS modules and hooks
27278 . ✅ ** VS Code integration** (` .vscode/settings.json ` , ` .editorconfig ` )
28289 . ✅ ** ESLint + Prettier** pre-configured for modern standards
29+ 10 . ✅ ** GitHub Actions PR Validation** – Automatically lints and builds on pull requests targeting ` main `
2930
3031🔧 Nothing super opinionated. Just fast, clean, and extensible.
3132
@@ -38,6 +39,12 @@ Created by [@stefanbobrowski](https://github.com/stefanbobrowski)
3839
3940---
4041
42+ ## 🧷 GitHub Code
43+
44+ [ GitHub – vite-react-ts-starter] ( https://github.com/stefanbobrowski/vite-react-ts-starter )
45+
46+ ---
47+
4148## 📄 License
4249
4350Licensed under the ** Apache License 2.0** .
You can’t perform that action at this time.
0 commit comments