Added dedicated clone step
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
ref #23
This commit is contained in:
parent
1fbddf5ef8
commit
31e7d074dc
@ -3,12 +3,15 @@ kind: pipeline
|
|||||||
name: tests:latest
|
name: tests:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git checkout $DRONE_SOURCE_BRANCH
|
||||||
- name: run tests
|
- name: run tests
|
||||||
image: node:alpine
|
image: node:alpine
|
||||||
commands:
|
commands:
|
||||||
- yarn
|
- yarn
|
||||||
- yarn test
|
- yarn test
|
||||||
source: ${DRONE_SOURCE_BRANCH}
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
Loading…
x
Reference in New Issue
Block a user