Added dedicated clone step
continuous-integration/drone/pr Build encountered an error Details

ref #23
This commit is contained in:
Nicolai Ort 2020-12-11 20:18:03 +01:00
parent 1fbddf5ef8
commit 31e7d074dc
1 changed files with 4 additions and 1 deletions

View File

@ -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