Revert "ci: combine install and lint/build tasks"

This reverts commit 759d031a5f.

This was originally to solve some issues with builds during the
workspace refactor in FoundKeyGang/FoundKey#86
but this didn't end up being the root cause, so it may actually be
better to split these tasks again.
This commit is contained in:
Norm 2022-09-07 14:02:45 -04:00
parent f21e1afaa4
commit bd11b9d818
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE
4 changed files with 28 additions and 4 deletions

View file

@ -6,11 +6,17 @@ clone:
recursive: true
pipeline:
build:
install:
when:
event:
- pull_request
image: node:18.6.0
commands:
- yarn install
build:
when:
event:
- pull_request
image: node:18.6.0
commands:
- yarn build

View file

@ -6,11 +6,17 @@ clone:
recursive: true
pipeline:
lint:
install:
when:
event:
- pull_request
image: node:18.6.0
commands:
- yarn install
lint:
when:
event:
- pull_request
image: node:18.6.0
commands:
- yarn workspace backend run lint

View file

@ -6,11 +6,17 @@ clone:
recursive: true
pipeline:
lint:
install:
when:
event:
- pull_request
image: node:18.6.0
commands:
- yarn install
lint:
when:
event:
- pull_request
image: node:18.6.0
commands:
- yarn workspace client run lint

View file

@ -6,11 +6,17 @@ clone:
recursive: true
pipeline:
lint:
install:
when:
event:
- pull_request
image: node:18.6.0
commands:
- yarn install
lint:
when:
event:
- pull_request
image: node:18.6.0
commands:
- yarn workspace foundkey-js run lint