--- 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 trigger: event: - pull_request