Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update buildspec.yml #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Do not change version. This is the version of aws buildspec, not the version of your buldspec file.
# Do not change version. This is the version of AWS buildspec, not the version of your buildspec file.
version: 0.2

phases:
Expand All @@ -12,19 +12,15 @@ phases:
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
- echo "Environment variable SAMPLE_ENV_VAR is $SAMPLE_ENV_VAR"
post_build:
commands:
- echo Build completed on `date`
# 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.
# ExpressJS apps will need other artifact directories included (bin/*, public/*, routes/*, views/* etc).
artifacts:
files:
- app.js
Expand Down