2022-04-23 05:41:04 +02:00
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
2022-05-30 03:39:49 +02:00
|
|
|
lint:
|
2022-05-31 17:50:03 +02:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
workspace:
|
|
|
|
- backend-771cdf
|
|
|
|
- client-66101c
|
2022-04-23 05:41:04 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
2022-05-30 05:09:44 +02:00
|
|
|
fetch-depth: 0
|
2022-05-30 04:06:52 +02:00
|
|
|
submodules: true
|
2022-05-30 05:09:44 +02: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-05-30 03:11:20 +02:00
|
|
|
- run: corepack enable
|
2022-05-31 09:13:41 +02:00
|
|
|
- run: yarn set version berry
|
|
|
|
- run: yarn workspaces foreach install --immutable
|
2022-05-31 17:37:15 +02:00
|
|
|
env:
|
2022-05-31 09:13:41 +02:00
|
|
|
YARN_CHECKSUM_BEHAVIOR: update
|
2022-05-31 17:50:03 +02:00
|
|
|
- run: yarn workspace ${{ matrix.workspace }} run lint
|