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