From c2d7a8f8f48321041fb1c63f6b22b2a501ad973f Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Fri, 17 Apr 2020 20:23:10 +0700 Subject: [PATCH] add drone --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..797dcc7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +pipeline: + restore-cache: + image: drillster/drone-volume-cache + restore: true + mount: + - ./node_modules + volumes: + - /tmp/cache:/cache + + install: + image: node:8.6.0 + commands: + - node -v + - npm -v + - npm install + + testing: + image: node:8.6.0 + group: testing + commands: + - npm run test \ No newline at end of file