1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 21:17:59 +00:00

CI: run linter

This commit is contained in:
Romein van Buren 2023-06-11 09:40:16 +02:00
parent 2ee5c7dadd
commit 3fd2be55b0
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
2 changed files with 24 additions and 1 deletions

View File

@ -5,7 +5,6 @@ on:
branches: [ "main" ] branches: [ "main" ]
pull_request: pull_request:
branches: [ "main" ] branches: [ "main" ]
workflow_dispatch:
jobs: jobs:
build: build:

24
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Linter
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
eslint:
name: Run ESlint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm ci
working-directory: ./frontend
- name: Run ESLint
run: npx eslint .
working-directory: ./frontend