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 recursive: true
pipeline: pipeline:
build: install:
when: when:
event: event:
- pull_request - pull_request
image: node:18.6.0 image: node:18.6.0
commands: commands:
- yarn install - yarn install
build:
when:
event:
- pull_request
image: node:18.6.0
commands:
- yarn build - yarn build

View File

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

View File

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

View File

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