calckey/.github/workflows/lint.yml

29 lines
580 B
YAML

name: Lint
on:
push:
branches:
- master
- develop
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3.2.0
with:
node-version: 18.x
- run: corepack enable
- run: yarn set version berry
- run: yarn install --immutable
- run: yarn workspaces foreach install --immutable
- run: yarn workspaces foreach run lint
env:
YARN_CHECKSUM_BEHAVIOR: update