actions: Add build and lint

Closes #512
This commit is contained in:
FireMasterK 2021-10-08 22:50:49 +01:00
parent 8143919374
commit 24c338ca49
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 18 additions and 0 deletions

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

@ -0,0 +1,18 @@
name: Build and Lint
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Setup Node.js
uses: actions/setup-node@v2.4.1
with:
cache: "yarn"
- run: yarn install --prefer-offline
- run: yarn build
- run: yarn lint --no-fix