diff --git a/buildspec.yml b/buildspec.yml index d471d7d..5a236ea 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,23 +4,23 @@ version: 0.2 phases: install: runtime-versions: - nodejs: 10 - commands: - - echo Installing Mocha... - - npm install -g mocha + nodejs: 12 pre_build: commands: - echo Installing source NPM dependencies... - - npm install - - npm install unit.js build: commands: - echo Build started on `date` - echo Compiling the Node.js code - - mocha test.js post_build: commands: - echo Build completed on `date` +artifacts: + files: + - "**/*" + discard-paths: no + base-directory: dist + # Include only the files required for your application to run. # Do not use recursively include artifacts from node_modules directory as it will include unnecessary packages # used only for building and testing.