iceshrimp-legacy/.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 04:06:52 +02:00
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 18.x
2022-05-30 03:11:20 +02:00
- run: corepack enable
2022-05-30 04:06:52 +02:00
- run: yarn install --immutable
- run: yarn workspaces ${{ matrix.workspace }} lint
2022-05-30 04:06:52 +02:00