Skip to content

Commit

Permalink
ci: add ci job to run eslint on api code
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricss committed Jul 11, 2024
1 parent 2573728 commit fb2acb3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint
on: [ push ]

jobs:
eslint-reva-api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- name: Installing dependencies
run: npm ci
- name: Running ESLint
run: npm run eslint -w reva-api

0 comments on commit fb2acb3

Please sign in to comment.