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:
|
2022-04-23 12:41:04 +09:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
2022-05-30 12:09:44 +09:00
|
|
|
fetch-depth: 0
|
2022-05-30 11:06:52 +09:00
|
|
|
submodules: true
|
2022-05-30 12:09:44 +09:00
|
|
|
- uses: actions/setup-node@v3.2.0
|
2022-04-23 12:41:04 +09:00
|
|
|
with:
|
2022-04-29 10:17:03 +09:00
|
|
|
node-version: 18.x
|
2022-05-30 10:11:20 +09:00
|
|
|
- run: corepack enable
|
2022-05-31 15:55:47 +09:00
|
|
|
- run: yarn set version 4.0.0-rc.6
|
2022-05-31 13:02:43 +09:00
|
|
|
- run: yarn workspaces focus
|
|
|
|
- run: yarn install --immutable
|
2022-05-31 09:31:24 +09:00
|
|
|
- run: yarn workspaces foreach run lint
|
2022-05-30 11:06:52 +09:00
|
|
|
|