Change .drone.yml

This commit is contained in:
Liam 2022-10-26 21:43:57 +01:00
parent 2a960911f2
commit ed89a24031

@ -19,16 +19,6 @@ steps:
commands:
- npm install
# Other branches
- name: test
image: node:18
when:
branch:
exclude:
- main
commands:
- npm run lint
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
@ -39,6 +29,16 @@ steps:
mount:
- ./node_modules
# Other branches
- name: test
image: node:18
when:
branch:
exclude:
- main
commands:
- npm run lint
# Main branches
- name: docker
image: plugins/docker