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

View file

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

View file

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

View file

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