diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml new file mode 100644 index 0000000..54161e9 --- /dev/null +++ b/.github/workflows/pr-validation.yml @@ -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