summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAndreas Nedbal <andreas.nedbal@in2code.de>2022-04-23 05:41:04 +0200
committerGitHub <noreply@github.com>2022-04-23 12:41:04 +0900
commit92762223ea685327ab00692198305efb4e6f606d (patch)
tree9f0d60fd76aa0ec6e8a425250207a8066b63cc18 /.github
parentchore(deps): bump moment from 2.24.0 to 2.29.3 in /packages/backend (#8531) (diff)
downloadsharkey-92762223ea685327ab00692198305efb4e6f606d.tar.gz
sharkey-92762223ea685327ab00692198305efb4e6f606d.tar.bz2
sharkey-92762223ea685327ab00692198305efb4e6f606d.zip
refactor(meta): split package lints into separate workflows (#8530)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml64
1 files changed, 39 insertions, 25 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index da2c73a656..9da27f4678 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,25 +1,39 @@
-name: Lint
-
-on:
- push:
- branches:
- - master
- - develop
- pull_request:
-
-jobs:
- lint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
- - uses: actions/setup-node@v3
- with:
- node-version: 16.x
- cache: 'yarn'
- cache-dependency-path: |
- packages/backend/yarn.lock
- packages/client/yarn.lock
- - run: yarn install
- - run: yarn lint
+name: Lint
+
+on:
+ push:
+ branches:
+ - master
+ - develop
+ pull_request:
+
+jobs:
+ backend:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: true
+ - uses: actions/setup-node@v3
+ with:
+ node-version: 16.x
+ cache: 'yarn'
+ cache-dependency-path: |
+ packages/backend/yarn.lock
+ - 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: 16.x
+ cache: 'yarn'
+ cache-dependency-path: |
+ packages/client/yarn.lock
+ - run: yarn install
+ - run: yarn --cwd ./packages/client lint