ci: combine install and lint/build tasks

This commit is contained in:
Norm 2022-08-26 15:50:20 -04:00
parent b3548cf9a0
commit 759d031a5f
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE
4 changed files with 4 additions and 28 deletions

View file

@ -6,17 +6,11 @@ clone:
recursive: true
pipeline:
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 install
- yarn build

View file

@ -6,17 +6,11 @@ clone:
recursive: true
pipeline:
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 install
- yarn workspace backend run lint

View file

@ -6,17 +6,11 @@ clone:
recursive: true
pipeline:
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 install
- yarn workspace client run lint

View file

@ -6,17 +6,11 @@ clone:
recursive: true
pipeline:
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 install
- yarn workspace foundkey-js run lint