diff --git a/.drone.yml b/.drone.yml index 8ceca821..a0071b4f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ trigger: steps: - - name: restore + - name: restore-modules image: drillster/drone-volume-cache volumes: - name: modules @@ -24,6 +24,15 @@ steps: - yarn - yarn build:prod + - name: rebuild-modules + image: drillster/drone-volume-cache + volumes: + - name: modules + path: /cache + settings: + rebuild: true + mount: + - ./node_modules volumes: - name: modules