Skip to content

Commit c881ec5

Browse files
committed
Add PR validation workflow
1 parent 1b2a02d commit c881ec5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/pr-validation.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Pull Request Validation
2+
3+
on:
4+
pull_request:
5+
branches: ["main"]
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup Node
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: "22"
19+
cache: npm
20+
- name: Install dependencies
21+
run: npm install
22+
- name: Build with React
23+
run: npm run build

0 commit comments

Comments
 (0)