calckey/.github/workflows/lint.yml

28 lines
545 B
YAML
Raw Normal View History

name: Lint
on:
push:
branches:
- master
- develop
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
2022-05-30 03:09:44 +00:00
fetch-depth: 0
2022-05-30 02:06:52 +00:00
submodules: true
2022-05-30 03:09:44 +00:00
- uses: actions/setup-node@v3.2.0
with:
node-version: 18.x
2022-05-30 01:11:20 +00:00
- run: corepack enable
2022-05-31 07:13:41 +00:00
- run: yarn set version berry
- run: yarn workspaces foreach install --immutable
2022-05-31 15:37:15 +00:00
env:
2022-05-31 07:13:41 +00:00
YARN_CHECKSUM_BEHAVIOR: update
2022-05-31 15:37:15 +00:00
- run: yarn workspaces foreach run lint
2022-05-30 02:06:52 +00:00