Improve lint workflow

This commit is contained in:
ThatOneCalculator 2022-05-29 18:28:01 -07:00
parent f035817489
commit 6254a1e163
1 changed files with 2 additions and 20 deletions

View File

@ -8,7 +8,7 @@ on:
pull_request:
jobs:
backend:
workspaces:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -18,24 +18,6 @@ jobs:
with:
node-version: 18.x
cache: 'yarn'
cache-dependency-path: |
packages/backend/yarn.lock
- run: corepack enable
- run: yarn install
- run: yarn --cwd ./packages/backend lint
client:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
cache-dependency-path: |
packages/client/yarn.lock
- run: corepack enable
- run: yarn install
- run: yarn --cwd ./packages/client lint
- run: yarn workspaces * lint