-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathci.qa.yml
More file actions
38 lines (38 loc) · 957 Bytes
/
ci.qa.yml
File metadata and controls
38 lines (38 loc) · 957 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
35
36
37
38
schemaVersion: v0.2
prepare:
steps:
- name: install frontend dependencies
command: cd frontend && npm install
- name: install backend dependencies
command: cd backend && npm install
- name: run linting
command: cd backend && npm run lint
- name: run frontend linting
command: cd frontend && npm run lint
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
command: "cd frontend && NODE_ENV=test QA_MODE=true npm start"
plan: 8
replicas: 1
isPublic: true
network:
path: /
stripPath: false
api:
steps:
- name: deploy api endpoints
command: cd backend && NODE_ENV=test QA_MODE=true npm start
plan: 8
replicas: 1
isPublic: true
network:
path: /api
stripPath: false