Add buildspec file

This commit is contained in:
Emily Doherty 2021-07-01 17:16:56 -04:00
parent 3263dd360c
commit 608caa0bb1

23
buildspec.yml Normal file
View File

@ -0,0 +1,23 @@
version: 0.2
phases:
install:
runtime-versions:
nodejs: 14
commands:
- echo Installing dependencies...
- npm install
build:
commands:
- echo Starting Build Stage
- npm run build
post-build:
commands:
- echo Build completed on `date`
artifacts:
files:
- 'dist/**/*''
cache:
paths:
- '/root/.npm/**/*'
- '/node_modules/'