1
0
Fork 1
mirror of https://example.com synced 2024-11-24 23:36:38 +09:00
firefish/.github/workflows/lint.yml

32 lines
626 B
YAML
Raw Normal View History

name: Lint
on:
push:
branches:
- master
- develop
pull_request:
jobs:
lint:
strategy:
matrix:
workspace:
2022-06-01 11:51:54 +09:00
- backend
- client
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
with:
node-version: 18.x
2022-05-30 10:11:20 +09:00
- run: corepack enable
2022-05-31 16:13:41 +09:00
- run: yarn set version berry
- run: yarn install --immutable
2022-06-01 00:37:15 +09:00
env:
2022-05-31 16:13:41 +09:00
YARN_CHECKSUM_BEHAVIOR: update
- run: yarn workspace ${{ matrix.workspace }} run lint