Browse Source

minimal drone integration

feature/dockerfile-arm
Daniel Rozner 5 years ago
parent
commit
7878b7d75f
  1. 42
      .drone.yml
  2. 1
      package.json

42
.drone.yml

@ -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

1
package.json

@ -4,6 +4,7 @@
"description": "",
"main": "index-unauth.js",
"scripts": {
"test": "echo 'no tests yet!' && exit 0",
"docker-dev": "nodemon ./app.js",
"build": "webpack --config webpack.config.js",
"frontend": "webpack-dev-server --entry ./frontend.jsx",

Loading…
Cancel
Save