Added drone caching
continuous-integration/drone/push Build is failing Details

main
Guus van Meerveld 2 years ago
parent 1240be41cd
commit 86947b34af
Signed by: Guusvanmeerveld
GPG Key ID: 2BA7D7912771966E

@ -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
from_secret: docker_password
volumes:
- name: cache
host:
path: /tmp/drone/cache/node_modules
Loading…
Cancel
Save