forked from DavidVujic/clojurescript-amplified
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathamplify.yml
34 lines (34 loc) · 817 Bytes
/
amplify.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
version: 1
backend:
phases:
# IMPORTANT - Please verify your build commands
build:
commands:
- '# Execute Amplify CLI with the helper script'
- amplifyPush --simple
frontend:
phases:
preBuild:
commands:
- amazon-linux-extras enable corretto8
- yum -y install java-1.8.0-amazon-corretto-devel
- java -version
- nvm install 14.15.4
- nvm use 14.15.4
- npm install -g npm@latest
- node --version
- npm --version
- npm install -g shadow-cljs
build:
commands:
- npm ci
- npm run build
- npm run pack
artifacts:
# IMPORTANT - Please verify your build output directory
baseDirectory: public/
files:
- '**/*'
cache:
paths:
- node_modules/**/*