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