Added drone pipeline for automagic tests
continuous-integration/drone/pr Build is passing Details

ref #4
This commit is contained in:
Nicolai Ort 2021-03-03 16:39:54 +01:00
parent 4624250963
commit 3501a4bef1
1 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,23 @@
---
kind: pipeline
name: tests:node_latest
clone:
disable: true
steps:
- name: checkout pr
image: alpine/git
commands:
- git clone $DRONE_REMOTE_URL .
- git checkout $DRONE_SOURCE_BRANCH
- name: run tests
image: node:latest
commands:
- yarn
- yarn test:ci
trigger:
event:
- pull_request
---
kind: pipeline
type: docker