mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
ci: Attempt to add eslint
This commit is contained in:
parent
2d549b3300
commit
5efb5b33e7
1 changed files with 17 additions and 0 deletions
17
.github/workflows/eslint.yml
vendored
Normal file
17
.github/workflows/eslint.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: ESlint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install npm dependencies
|
||||
run: cd app && npm ci
|
||||
- name: Run linter
|
||||
run: cd app && npm run lint
|
Loading…
Add table
Reference in a new issue