summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: da2c73a656daca50271c9f97efbfd54e45f16d7b (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
name: Lint

on:
  push:
    branches:
      - master
      - develop
  pull_request:

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        submodules: true
    - uses: actions/setup-node@v3
      with:
        node-version: 16.x
        cache: 'yarn'
        cache-dependency-path: |
          packages/backend/yarn.lock
          packages/client/yarn.lock
    - run: yarn install
    - run: yarn lint