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

29 lines
510 B
YAML
Raw Normal View History

name: Lint
on:
push:
branches:
- master
- develop
pull_request:
jobs:
lint:
strategy:
matrix:
workspace:
- backend
- client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
2022-05-30 11:06:52 +09:00
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 18.x
2022-05-30 10:11:20 +09:00
- run: corepack enable
2022-05-30 11:06:52 +09:00
- run: yarn install --immutable
- run: yarn workspaces ${{ matrix.workspace }} lint
2022-05-30 11:06:52 +09:00