From 7820dccdf47b6684ad1c9fb08c5d28ce0dc4fdcd Mon Sep 17 00:00:00 2001 From: xxq250 Date: Wed, 3 Aug 2022 17:35:04 +0800 Subject: [PATCH] Update '.trustie-pipeline.yml' --- .trustie-pipeline.yml | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) 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