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