2021-10-27 16:16:13 +00:00
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: true
|
2022-04-03 06:21:46 +00:00
|
|
|
- uses: actions/setup-node@v3
|
2021-10-27 16:16:13 +00:00
|
|
|
with:
|
2022-04-02 13:52:26 +00:00
|
|
|
node-version: 16.x
|
2022-04-03 06:21:46 +00:00
|
|
|
cache: 'yarn'
|
|
|
|
cache-dependency-path: |
|
2022-04-03 06:24:29 +00:00
|
|
|
packages/backend/yarn.lock
|
|
|
|
packages/client/yarn.lock
|
2021-10-27 16:16:13 +00:00
|
|
|
- run: yarn install
|
|
|
|
- run: yarn lint
|