diff --git a/.drone.yml b/.drone.yml index 3a2adaf..ea01911 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,16 @@ trigger: - main steps: + - name: restore-cache + image: drillster/drone-volume-cache + settings: + restore: true + mount: + - ./node_modules + volumes: + - name: cache + path: /cache + - name: build image: node volumes: @@ -17,6 +27,16 @@ steps: - yarn install # - yarn build + - name: rebuild-cache + image: drillster/drone-volume-cache + settings: + rebuild: true + mount: + - ./node_modules + volumes: + - name: cache + path: /cache + volumes: - name: cache host: