misskey/.github/workflows/lint.yml
Kainoa Kanter 3208a2ef94
Update .github/workflows/lint.yml
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-05-29 18:39:49 -07:00

28 lines
519 B
YAML

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:
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- run: corepack enable
- run: yarn install
- run: yarn workspaces ${{ matrix.workspace }} lint