Skip to content

Commit

Permalink
Add PR validation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcroft committed Dec 19, 2024
1 parent 1b2a02d commit c881ec5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pull Request Validation

on:
pull_request:
branches: ["main"]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- name: Install dependencies
run: npm install
- name: Build with React
run: npm run build

0 comments on commit c881ec5

Please sign in to comment.