summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2023-02-17 02:57:40 +0100
committerGitHub <noreply@github.com>2023-02-17 10:57:40 +0900
commitdd52be3a01fca4831cccb82d7fe1585cfbfd01cf (patch)
tree010d062f996de468bd08d67ebbb723a05e691e9e /.github
parentstyle(backend): fix all eslint errors (#9967) (diff)
downloadsharkey-dd52be3a01fca4831cccb82d7fe1585cfbfd01cf.tar.gz
sharkey-dd52be3a01fca4831cccb82d7fe1585cfbfd01cf.tar.bz2
sharkey-dd52be3a01fca4831cccb82d7fe1585cfbfd01cf.zip
ci: run typecheck and eslint separately (#9966)
* ci: run typecheck and eslint separately * fix syntax
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 6a579bffc8..94d7d1371c 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -36,6 +36,9 @@ jobs:
- backend
- frontend
- sw
+ lint:
+ - typecheck
+ - eslint
steps:
- uses: actions/checkout@v3.3.0
with:
@@ -51,4 +54,4 @@ jobs:
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
- - run: pnpm --filter ${{ matrix.workspace }} run lint
+ - run: pnpm --filter ${{ matrix.workspace }} run ${{ matrix.lint }}