Add basic PR check

This commit is contained in:
Neil MacDougall 2023-02-22 10:03:36 +00:00
parent 62b0a49988
commit a38ea42b8c
1 changed files with 20 additions and 0 deletions

20
.github/workflows/pr-build-check.yaml vendored Normal file
View File

@ -0,0 +1,20 @@
name: check-build
on:
pull_request:
branches:
- master
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Validate build
run: |
yarn install
yarn run build