summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: b4a011727e4d887ced857b1a666b6ffa6aa0939b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Lint

on:
  push:

jobs:
  lint:
    name: Run linters
    runs-on: ubuntu-20.04

    steps:
      - uses: actions/checkout@v2 # Check out the repository first.
      - name: Run prettier (JavaScript & TypeScript)
        run: |
          pushd frontend
          npm install
          npm run lint
          popd

      - name: Run ruff (Python)
        uses: jpetrucciani/ruff-check@0.0.239
        with:
          path: "./backend"

      - name: Run ShellCheck
        uses: ludeeus/action-shellcheck@master