From a18ca75f2cc631f0c395561ab7d1762cd07497d9 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 30 Jun 2017 15:58:09 +0800 Subject: [PATCH] add js testing. Signed-off-by: Bo-Yi Wu --- .drone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.drone.yml b/.drone.yml index 901cbed..1c6e4d7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,3 +3,16 @@ clone: image: plugins/git depth: 50 tags: true + +pipeline: + + node_test: + image: node:8 + pull: true + commands: + - node -v + - npm -v + - yarn --version + - yarn config set cache-folder .yarn-cache + - yarn install + - yarn run production