add GitHub Actions workflow
parent
c795d1f9fc
commit
817cfccdfc
|
@ -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
|
Loading…
Reference in New Issue