Change .drone.yml
This commit is contained in:
parent
2a960911f2
commit
ed89a24031
20
.drone.yml
20
.drone.yml
@ -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
|
||||
|
Reference in New Issue
Block a user