buildspec.yml 466 B

1234567891011121314151617181920212223
  1. version: 0.2
  2. env:
  3. variables:
  4. AWS_REGION: "us-west-2"
  5. CHROME_BIN: "/usr/bin/chromium-browser"
  6. phases:
  7. install:
  8. runtime-versions:
  9. nodejs: 12
  10. pre_build:
  11. commands:
  12. - echo Install npm dependencies
  13. - npm install
  14. - gem install rake
  15. build:
  16. commands:
  17. - echo Running Test
  18. - npm run test
  19. post_build:
  20. commands:
  21. - ./node_modules/.bin/codecov -f coverage/*.json -t e89a5f73-fd56-45de-8799-009a19bde63c