homepage/.drone.yml

34 lines
609 B
YAML
Raw Normal View History

2022-06-07 18:49:09 +00:00
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