This repository has been archived on 2023-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
lfk-client-node/.drone.yml
Nicolai Ort 788d24d895
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Added ci pipeline for lib building
2020-12-12 22:56:49 +01:00

25 lines
603 B
YAML

---
kind: pipeline
name: build:test
steps:
- name: checkout backend
image: alpine/git
commands:
- git clone https://git.odit.services/lfk/backend backend
- git checkout feature/31-lib_generation
- name: run lib build
image: node:alpine
commands:
- cd backend
- yarn
- yarn lib
- name: checkout backend
image: alpine/git
commands:
- rm -rf ./dist ./openapi.json
- mv ./backend/lib/dist ./dist
- mv ./backend/lib/openapi.json ./openapi.json
- git add -A
- git commit -m "new lib version [CI SKIP]"
- git push