client/.drone.yml
Artem Anufrij 2b51b658ec
Some checks failed
continuous-integration/drone/push Build is failing
drone docker
2023-02-13 23:10:15 +01:00

25 lines
569 B
YAML

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 code.anufrijde/webplay/client:latest ./docker
- name: docker-test
image: docker
commands:
- docker run code.anufrijde/webplay/client:latest npm test
- name: docker-publish
image: docker