-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathci.dev.yml
More file actions
34 lines (34 loc) · 828 Bytes
/
ci.dev.yml
File metadata and controls
34 lines (34 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
schemaVersion: v0.2
prepare:
steps:
- name: install frontend dependencies
command: cd frontend && npm install
- name: install backend dependencies
command: cd backend && npm install
test:
steps:
- name: run backend tests
command: cd backend && npm test
- name: run frontend tests
command: cd frontend && npm test
run:
frontend:
steps:
- name: start frontend application in dev mode
command: "cd frontend && NODE_ENV=development DEBUG=true npm run dev"
plan: 8
replicas: 1
isPublic: true
network:
path: /
stripPath: false
api:
steps:
- name: deploy api endpoints
command: cd backend && NODE_ENV=development npm start
plan: 8
replicas: 1
isPublic: true
network:
path: /api
stripPath: false