Skip to content

Commit

Permalink
Adds build check on PR opening
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconiGRF committed Jun 19, 2024
1 parent 18ec47d commit 1386394
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-on-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build on PR
on:
pull_request:
types: ["opened"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: v16.19.1
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Build the website
shell: bash
run: |
npm install
npm run generate

0 comments on commit 1386394

Please sign in to comment.