Skip to content

Commit

Permalink
Added AWS Codebuild configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cam8001 committed Apr 4, 2022
1 parent a1e3029 commit e3f3732
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 0.2

env:
parameter-store:
COVERALLS_REPO_TOKEN: /coveralls/nzism-passgen/COVERALLS_REPO_TOKEN

phases:
pre_build:
commands:
- echo Entered the pre_build phase...
- rm -rf ./node_modules package-lock.json
- npm install
- export PATH="./node_modules/.bin:$PATH";
finally:
- echo Cleaned up so we can install devDependecies.
build:
commands:
- echo Entered the build phase...
- echo Build started on `date`
- npm run coverage
- nyc npm test && nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls
post_build:
commands:
- echo Entered the post_build phase...
- echo Build completed on `date`

0 comments on commit e3f3732

Please sign in to comment.