mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 10:37:30 -04:00
Add lint
Github Action
This commit is contained in:
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
|
Reference in New Issue
Block a user