summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: 5e93c04aa36cfc4b5dff8731d791bf6fa51f63d4 (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
27
28
29
name: Lint

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

jobs:
  lint:
    strategy:
      matrix:
        workspace:
        - backend
        - client
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
        submodules: true
    - uses: actions/setup-node@v3.2.0
      with:
        node-version: 18.x
        cache: 'yarn'
    - run: corepack enable
    - run: yarn install --immutable
    - run: yarn workspace ${{ matrix.workspace }} run lint