mirror of
https://github.com/dstotijn/hetty
synced 2025-02-16 12:18:28 +00:00
Add lint
Github Action
This commit is contained in:
parent
44193cd723
commit
afa211d0ec
1 changed files with 16 additions and 0 deletions
16
.github/workflows/lint.yml
vendored
Normal file
16
.github/workflows/lint.yml
vendored
Normal 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
|
Loading…
Add table
Reference in a new issue