buildspec.yml (398B)
1 version: 0.2 2 3 phases: 4 install: 5 runtime-versions: 6 nodejs: 16 7 commands: 8 - echo Installing dependencies... 9 - npm install 10 build: 11 commands: 12 - echo Starting Build Stage 13 - npm run build 14 post_build: 15 commands: 16 - echo Build completed on `date` 17 18 artifacts: 19 files: 20 - 'dist/**/*' 21 22 cache: 23 paths: 24 - '/root/.npm/**/*' 25 - '/node_modules/'