-
Notifications
You must be signed in to change notification settings - Fork 85
93 lines (80 loc) · 1.96 KB
/
check.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
on:
[pull_request, push]
name: Check
jobs:
pipelines:
name: Pipelines
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Test
run: |
cd pipelines
npm install -g aws-cdk
npm ci
npm run build
npm run synth-static-site-pipeline
npm run synth-backend-pipeline
npm run synth-backend-blue-green-pipeline
npm run synth-backend-codedeploy-pipeline
npm run synth-backend-base-image-pipeline
npm run synth-chat-bot-pipeline
npm run synth-canaries-pipeline
npm run synth-lifecycle-hooks-pipeline
npm run synth-pipelines-bootstrap
static-site:
name: Static Site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Test
run: |
npm install -g aws-cdk
cd static-site/cdk
npm ci
npm run build
cd ../app
npm ci
npm run build
npm run build:dev
npm run build:test
npm run build:prod
game-infra:
name: Game Infra
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Test
run: |
npm install -g aws-cdk
cd trivia-backend/infra/cdk
npm ci
npm run build
cd ../codedeploy-blue-green
npm ci
npm run build
cd ../codedeploy-lifecycle-event-hooks
npm ci
game-app:
name: Game App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Test
run: |
cd trivia-backend/base
docker build -t reinvent-trivia-backend-base:release .
cd ..
docker build -t reinvent-trivia-backend:release .