2022-04-23 03:41:04 +00:00
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
2022-05-30 01:39:49 +00:00
|
|
|
lint:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
workspace:
|
|
|
|
- backend
|
|
|
|
- client
|
2022-04-23 03:41:04 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
2022-05-30 02:06:52 +00:00
|
|
|
submodules: true
|
2022-04-23 03:41:04 +00:00
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
2022-04-29 01:17:03 +00:00
|
|
|
node-version: 18.x
|
2022-05-30 01:11:20 +00:00
|
|
|
- run: corepack enable
|
2022-05-30 02:06:52 +00:00
|
|
|
- run: yarn install --immutable
|
2022-05-30 01:39:44 +00:00
|
|
|
- run: yarn workspaces ${{ matrix.workspace }} lint
|
2022-05-30 02:06:52 +00:00
|
|
|
|