refactor ci

This commit is contained in:
syuilo 2023-02-23 10:56:01 +09:00
parent ce5c78d0d2
commit d2ef0efbff
1 changed files with 2 additions and 6 deletions

View File

@ -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