iceshrimp-legacy/.github/workflows/lint.yml

30 lines
562 B
YAML
Raw Normal View History

name: Lint
on:
push:
branches:
- master
- develop
pull_request:
jobs:
lint:
strategy:
matrix:
workspace:
2022-06-01 04:51:54 +02:00
- backend
- client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
2022-05-30 05:09:44 +02:00
fetch-depth: 0
2022-05-30 04:06:52 +02:00
submodules: true
2022-05-30 05:09:44 +02:00
- uses: actions/setup-node@v3.2.0
with:
node-version: 18.x
cache: 'yarn'
2022-05-30 03:11:20 +02:00
- run: corepack enable
- run: yarn install --immutable
- run: yarn workspace ${{ matrix.workspace }} run lint