Add PR action

This commit is contained in:
Eugene 2019-09-18 18:38:07 -04:00
parent 696ec68e1b
commit 7bb6560698
No known key found for this signature in database
GPG Key ID: E1FD745328866B0A
2 changed files with 19 additions and 1 deletions

18
.github/workflows/pull_request.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Build website
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Install Node v12
uses: actions/setup-node@v1
with:
node-version: 12
- name: Build website
run: |
npm install
npm run build

View File

@ -4,7 +4,7 @@ on:
branches:
- master
jobs:
build:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository