Skip to content

Commit

Permalink
added check for PRs (#13)
Browse files Browse the repository at this point in the history
We need to be able to verify that the site builds before merging
  • Loading branch information
Bullrich authored May 4, 2024
1 parent 0a82721 commit 786c20c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PR Check

on:
pull_request:

permissions:
contents: read

jobs:
build-site:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run build

0 comments on commit 786c20c

Please sign in to comment.