chore: setup build workflow

This commit is contained in:
Shigma 2022-10-06 03:22:02 +08:00
parent 886ef46fd8
commit 2d74c6bdd3
No known key found for this signature in database
GPG Key ID: 414458B84ACF8744

21
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install
run: yarn
- name: Build
run: yarn build