You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
537 B
32 lines
537 B
kind: pipeline |
|
type: kubernetes |
|
name: back-end |
|
|
|
steps: |
|
- name: install dependencies |
|
image: sandervocke/postgres_node:12 |
|
commands: |
|
- npm install |
|
- cd server && npm install; cd .. |
|
|
|
- name: back-end test |
|
image: node |
|
commands: |
|
- cd server && npm test; cd .. |
|
|
|
--- |
|
kind: pipeline |
|
type: kubernetes |
|
name: front-end |
|
|
|
steps: |
|
- name: install dependencies |
|
image: node |
|
commands: |
|
- npm install |
|
- cd client && npm install; cd .. |
|
|
|
- name: front-end compile |
|
image: node |
|
commands: |
|
- cd client && ./node_modules/.bin/tsc; cd ..
|
|
|