kind: pipeline name: default steps: - name: build image: node:latest commands: - sed -i '/"electron":/d' ./package.json - sed -i '/"electron-builder":/d' ./package.json - sed -i '/"express":/d' ./package.json - npm install - npm run build - name: docker-build image: docker commands: - docker build -t myimage:$DRONE_BUILD_NUMBER ./docker - name: docker-test image: docker commands: - docker run myimage:$DRONE_BUILD_NUMBER npm test