-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildspec.yaml
42 lines (35 loc) · 1012 Bytes
/
buildspec.yaml
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
version: 0.2
env:
variables:
NODE_ENV: "${env}"
REACT_APP_MASS_INCARCERATION_MAP_BOX_KEY: "${REACT_APP_MASS_INCARCERATION_MAP_BOX_KEY}"
REACT_APP_MASS_INCARCERATION_MAP_BOX_STYLE_ID: "${REACT_APP_MASS_INCARCERATION_MAP_BOX_STYLE_ID}"
parameter-store:
REACT_APP_MASS_INCARCERATION_MAP_BOX_KEY: REACT_APP_MASS_INCARCERATION_MAP_BOX_KEY
REACT_APP_MASS_INCARCERATION_MAP_BOX_STYLE_ID: REACT_APP_MASS_INCARCERATION_MAP_BOX_STYLE_ID
exported-variables:
- REACT_APP_MASS_INCARCERATION_MAP_BOX_KEY
- REACT_APP_MASS_INCARCERATION_MAP_BOX_STYLE_ID
phases:
install:
runtime-versions:
nodejs: 14
commands:
- echo installing . . .
- yarn install
pre_build:
commands:
- echo Not Running tests . . .
# - CI=true yarn test
build:
commands:
- echo Starting build . . .
- yarn run build
artifacts:
files:
- '**/*'
name: "web-dist-$(date +%Y-%m-%d)"
base-directory: build
cache:
paths:
- /root/.npm/**/*