Improve lint workflow
This commit is contained in:
parent
f035817489
commit
6254a1e163
1 changed files with 2 additions and 20 deletions
22
.github/workflows/lint.yml
vendored
22
.github/workflows/lint.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue