Created
June 2, 2019 01:26
-
-
Save arterberry/11494c7fa9919fb4492ba5c4c2394b4b to your computer and use it in GitHub Desktop.
A simple CodeBuild buildspec for a JS test automation repo on CodeCommit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.2 | |
phases: | |
install: | |
runtime-versions: | |
nodejs: 10 | |
pre_build: | |
commands: | |
- echo Installing npm and dependencies... | |
- npm install | |
- npm update | |
build: | |
commands: | |
- echo run automated tests ... | |
- ./node_modules/.bin/testcafe "chrome:headless" ./tests/authenticationTests.js | |
post_build: | |
commands: | |
- echo automated tests completed. | |
artifacts: | |
files: | |
- '**/*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment