refactor ci
This commit is contained in:
parent
ce5c78d0d2
commit
d2ef0efbff
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@ -36,8 +36,6 @@ jobs:
|
||||
- backend
|
||||
- frontend
|
||||
- sw
|
||||
lint:
|
||||
- eslint
|
||||
steps:
|
||||
- uses: actions/checkout@v3.3.0
|
||||
with:
|
||||
@ -53,7 +51,7 @@ jobs:
|
||||
cache: 'pnpm'
|
||||
- run: corepack enable
|
||||
- run: pnpm i --frozen-lockfile
|
||||
- run: pnpm --filter ${{ matrix.workspace }} run ${{ matrix.lint }}
|
||||
- run: pnpm --filter ${{ matrix.workspace }} run eslint
|
||||
|
||||
typecheck:
|
||||
needs: [pnpm_install]
|
||||
@ -63,8 +61,6 @@ jobs:
|
||||
matrix:
|
||||
workspace:
|
||||
- backend
|
||||
typecheck:
|
||||
- typecheck
|
||||
steps:
|
||||
- uses: actions/checkout@v3.3.0
|
||||
with:
|
||||
@ -80,4 +76,4 @@ jobs:
|
||||
cache: 'pnpm'
|
||||
- run: corepack enable
|
||||
- run: pnpm i --frozen-lockfile
|
||||
- run: pnpm --filter ${{ matrix.workspace }} run ${{ matrix.typecheck }}
|
||||
- run: pnpm --filter ${{ matrix.workspace }} run typecheck
|
||||
|
Loading…
Reference in New Issue
Block a user