Skip to content

feat: linters

feat: linters #4

Workflow file for this run

name: ESLint Checks
on:
pull_request:
push:
branches: [main]
jobs:
eslint:
runs-on: ubuntu-latest
strategy:
matrix:
folder:
- sdk/js
- scripts/limonade
- scripts/dex-router
- scripts/opportunity-provider
- scripts/opportunity-provider-limo
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm install
working-directory: ${{ matrix.folder }}
- name: Run lint
run: npm run lint
working-directory: ${{ matrix.folder }}