ci: add github workflows

This commit is contained in:
Axel Cocat 2022-05-14 18:46:54 +02:00
parent bb6428955f
commit 588b30c0ce
2 changed files with 26 additions and 0 deletions

13
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,13 @@
name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run build

13
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,13 @@
name: Lint
on:
push:
pull_request:
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run lint -- --max-warnings=0