forked from CyberOS/website-wip
Add ESLint to GitHub Actions
parent
336d679fe8
commit
f84b1f3ecb
|
@ -0,0 +1,15 @@
|
|||
name: ESLint
|
||||
on: push
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
- name: Check ESLint
|
||||
run: |
|
||||
yarn install
|
||||
yarn run lint
|
Loading…
Reference in New Issue