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