Add lint Github Action

This commit is contained in:
David Stotijn 2022-02-01 18:14:14 +01:00
parent 44193cd723
commit afa211d0ec
No known key found for this signature in database
GPG key ID: B23243A9C47CEE2D

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

@ -0,0 +1,16 @@
name: Lint
on: [push, pull_request]
defaults:
run:
working-directory: ./admin
jobs:
lint-admin:
runs-on: ubuntu-latest
name: Admin (Next.js)
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
- run: yarn install
- run: yarn run lint