add GitHub Actions workflow

pull/4/head
Cameron Clough 2022-01-08 22:05:27 +00:00
parent c795d1f9fc
commit 817cfccdfc
No known key found for this signature in database
GPG Key ID: BFB3B74B026ED43F
1 changed files with 17 additions and 0 deletions

17
.github/workflows/ci.yml vendored 100644
View File

@ -0,0 +1,17 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: 'npm'
- run: npm install
- run: npm run lint
# TODO: re-add tests when it doesn't start the server 🤡
# - run: npm test