--- kind: pipeline name: tests:latest steps: - name: run tests image: node:alpine commands: - yarn - yarn test when: branch: - $DRONE_SOURCE_BRANCH trigger: event: - pull_request