jormungandr-bite/.github/workflows/lint.yml

31 lines
558 B
YAML
Raw Normal View History

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