This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
imageify/.drone.yml

41 lines
662 B
YAML
Raw Permalink Normal View History

2022-11-14 05:42:45 +00:00
kind: pipeline
type: docker
name: default
steps:
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./node_modules
- name: install depends
image: node:18
commands:
- npm install
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./node_modules
# Other branches
- name: test
image: node:18
commands:
- npm run lint
volumes:
- name: cache
host:
path: /tmp/imageify