diff --git a/.trustie-pipeline.yml b/.trustie-pipeline.yml index 66f8cde1..e0b20165 100644 --- a/.trustie-pipeline.yml +++ b/.trustie-pipeline.yml @@ -1,22 +1,21 @@ -kind: pipeline -type: docker -name: pre -platform: - os: linux +kind: pipeline +type: docker +name: pre +platform: + os: linux arch: amd64 steps: -- name: 编译构建 - image: python -- name: Node编译 - image: node - commands: - - npm config set registry https://registry.npm.taobao.org - - npm install -g cnpm - - npm install node-sass@4.12.0 --save - - cnpm install -trigger: - branch: - - pre_gitlink_server - event: - - push +- name: 编译构建 + image: python2 +- name: Node编译 + image: node + commands: + - npm config set registry https://registry.npm.taobao.org + - npm install + - npm run build +trigger: + branch: + - pre_gitlink_server + event: + - push