From b52dc0e5cc96b14dc58e0be4344b950a8d029a11 Mon Sep 17 00:00:00 2001 From: Jonas Meddeb <48910376+ShaggyBommba@users.noreply.github.com> Date: Tue, 4 Oct 2022 23:15:05 +0200 Subject: [PATCH] Update buildspec.yml --- buildspec.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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.