20 lines
323 B
YAML
20 lines
323 B
YAML
---
|
|
kind: pipeline
|
|
name: tests:latest
|
|
clone:
|
|
disable: true
|
|
steps:
|
|
- name: checkout pr
|
|
image: alpine/git
|
|
commands:
|
|
- git clone $DRONE_REMOTE_URL .
|
|
- git checkout $DRONE_SOURCE_BRANCH
|
|
- mv .env.ci .env
|
|
- name: run tests
|
|
image: node:alpine
|
|
commands:
|
|
- yarn
|
|
- yarn test:ci
|
|
trigger:
|
|
event:
|
|
- pull_request |