add .drone.yml
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
neri 2022-06-07 20:49:09 +02:00
parent 6d8f26bfee
commit aaee17270a
1 changed files with 33 additions and 0 deletions

33
.drone.yml Normal file
View File

@ -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