From aaee17270ad4b38ed55fe34adac7f62efe4adad8 Mon Sep 17 00:00:00 2001 From: neri Date: Tue, 7 Jun 2022 20:49:09 +0200 Subject: [PATCH] add .drone.yml --- .drone.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8988b63 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,33 @@ +kind: pipeline +name: default + +steps: + - name: restore-cache + image: drillster/drone-volume-cache + restore: true + mount: + - ./node_modules + volumes: + - name: cache + path: /cache + - name: install + image: node + commands: + - yarn install --frozen-lockfile + - name: restore-cache + image: drillster/drone-volume-cache + rebuild: true + mount: + - ./node_modules + volumes: + - name: cache + path: /cache + - name: build + image: node + commands: + - yarn build --prefix-paths + +volumes: + - name: cache + host: + path: /tmp/drone/cache