Skip to content

Commit 41e556e

Browse files
Merge pull request #1 from stefanbobrowski/feature-branch
update readme, add github actions
2 parents 7d5eaaa + 2ef3095 commit 41e556e

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/pr-check.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Built with:
2626
7.**Example Component** with SCSS modules and hooks
2727
8.**VS Code integration** (`.vscode/settings.json`, `.editorconfig`)
2828
9.**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

4350
Licensed under the **Apache License 2.0**.

0 commit comments

Comments
 (0)