2021-09-13 17:53:12 +07:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: ci
|
2021-09-13 20:38:17 +07:00
|
|
|
|
2021-09-13 17:53:12 +07:00
|
|
|
steps:
|
2021-09-13 20:42:43 +07:00
|
|
|
- name: submodules
|
2021-09-13 20:47:45 +07:00
|
|
|
image: d.ctdn.net/alpine/git
|
2021-09-13 20:42:43 +07:00
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
2021-09-13 17:53:12 +07:00
|
|
|
- name: build
|
|
|
|
image: d.ctdn.net/node
|
|
|
|
commands:
|
2021-09-13 20:39:08 +07:00
|
|
|
- yarn config set registry https://r.ctdn.net
|
2021-09-13 20:49:05 +07:00
|
|
|
- cd packages/ts-common && yarn && yarn build
|
2021-09-13 20:47:45 +07:00
|
|
|
- cd ../../ && yarn
|
2021-09-13 20:39:08 +07:00
|
|
|
- yarn build
|