2022-04-23 05:41:04 +02:00
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
2022-05-29 18:39:49 -07:00
|
|
|
lint:
|
2022-05-31 08:50:03 -07:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
workspace:
|
2022-05-31 19:51:54 -07:00
|
|
|
- backend
|
|
|
|
- client
|
2022-04-23 05:41:04 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
2022-05-29 20:09:44 -07:00
|
|
|
fetch-depth: 0
|
2022-05-29 19:06:52 -07:00
|
|
|
submodules: true
|
2022-05-29 20:09:44 -07:00
|
|
|
- uses: actions/setup-node@v3.2.0
|
2022-04-23 05:41:04 +02:00
|
|
|
with:
|
2022-04-29 03:17:03 +02:00
|
|
|
node-version: 18.x
|
2022-06-04 23:48:07 +09:00
|
|
|
cache: 'yarn'
|
2022-05-29 18:11:20 -07:00
|
|
|
- run: corepack enable
|
2022-05-31 19:59:15 -07:00
|
|
|
- run: yarn install --immutable
|
2022-05-31 08:50:03 -07:00
|
|
|
- run: yarn workspace ${{ matrix.workspace }} run lint
|