mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-10-31 23:15:05 +01:00
Add PR action
This commit is contained in:
parent
696ec68e1b
commit
7bb6560698
18
.github/workflows/pull_request.yml
vendored
Normal file
18
.github/workflows/pull_request.yml
vendored
Normal 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
|
@ -4,7 +4,7 @@ on:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
Loading…
Reference in New Issue
Block a user