From 86947b34afe39a844e676dd6c610135984d5854e Mon Sep 17 00:00:00 2001 From: Guus van Meerveld Date: Wed, 15 Feb 2023 13:21:18 +0100 Subject: [PATCH] Added drone caching --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 911c996..7ca69cf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,6 +5,9 @@ name: deploy-image steps: - name: test-build image: node:16-alpine + volumes: + - name: cache + path: /drone/src/node_modules commands: - yarn install - yarn run prisma:generate @@ -19,4 +22,9 @@ steps: username: from_secret: docker_username password: - from_secret: docker_password \ No newline at end of file + from_secret: docker_password + +volumes: + - name: cache + host: + path: /tmp/drone/cache/node_modules \ No newline at end of file