Skip to content

Commit

Permalink
feat: pull-request gha
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmcguire1 authored Mar 27, 2024
1 parent 590f27f commit 9287975
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Simple workflow for deploying static content to GitHub Pages
name: Build on PR

on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
# Single deploy job since we're just deploying
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'

- name: Install dependencies
run: npm install

- name: Vite Build
run: npm run build

0 comments on commit 9287975

Please sign in to comment.