Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. version: 0.2
  2.  
  3. #env:
  4. #variables:
  5. # key: "value"
  6. # key: "value"
  7. #parameter-store:
  8. # key: "value"
  9. # key: "value"
  10. #git-credential-helper: yes
  11.  
  12. phases:
  13. install:
  14. #If you use the Ubuntu standard image 2.0 or later, you must specify runtime-versions.
  15. #If you specify runtime-versions and use an image other than Ubuntu standard image 2.0, the build fails.
  16. runtime-versions:
  17. nodejs: 10
  18. # name: version
  19. #commands:
  20. # - command
  21. # - command
  22. pre_build:
  23. commands:
  24. - npm i -g jest
  25. # - command
  26. build:
  27. commands:
  28. - node --version
  29. - npm --version
  30. - npm install
  31. - npm run test
  32. post_build:
  33. commands:
  34. - sls deploy --stage dev
  35. # - command
  36. #artifacts:
  37. #files:
  38. # - location
  39. # - location
  40. #name: $(date +%Y-%m-%d)
  41. #discard-paths: yes
  42. #base-directory: location
  43. #cache:
  44. #paths:
  45. # - paths
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement