2 changed files with 43 additions and 0 deletions
@ -0,0 +1,42 @@ |
|||||
|
kind: pipeline |
||||
|
type: docker |
||||
|
name: default |
||||
|
|
||||
|
steps: |
||||
|
- name: prepare-test-build |
||||
|
image: node |
||||
|
volumes: |
||||
|
# - name: cache |
||||
|
# path: /artifacts |
||||
|
commands: |
||||
|
- npm install |
||||
|
- npm run test |
||||
|
- npm run build |
||||
|
|
||||
|
# - name: build-image |
||||
|
# image: node |
||||
|
# volumes: |
||||
|
# - name: cache |
||||
|
# path: /artifacts |
||||
|
# commands: |
||||
|
# - echo "TODO" |
||||
|
# |
||||
|
# - name: push-image |
||||
|
# image: node |
||||
|
# volumes: |
||||
|
# - name: cache |
||||
|
# path: /artifacts |
||||
|
# commands: |
||||
|
# - echo "TODO" |
||||
|
|
||||
|
# volumes: |
||||
|
# - name: cache |
||||
|
# temp: {} |
||||
|
|
||||
|
trigger: |
||||
|
repo: |
||||
|
- stakwork/sphinx-relay |
||||
|
- daniel-ro/sphinx-relay |
||||
|
branch: |
||||
|
- drone |
||||
|
- master |
Loading…
Reference in new issue