forked from FoundKeyGang/FoundKey
ci: combine install and lint/build tasks
This commit is contained in:
parent
b3548cf9a0
commit
759d031a5f
4 changed files with 4 additions and 28 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue