Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: 0.2
- #env:
- #variables:
- # key: "value"
- # key: "value"
- #parameter-store:
- # key: "value"
- # key: "value"
- #git-credential-helper: yes
- phases:
- install:
- #If you use the Ubuntu standard image 2.0 or later, you must specify runtime-versions.
- #If you specify runtime-versions and use an image other than Ubuntu standard image 2.0, the build fails.
- runtime-versions:
- nodejs: 10
- # name: version
- #commands:
- # - command
- # - command
- pre_build:
- commands:
- - npm i -g jest
- # - command
- build:
- commands:
- - node --version
- - npm --version
- - npm install
- - npm run test
- post_build:
- commands:
- - sls deploy --stage dev
- # - command
- #artifacts:
- #files:
- # - location
- # - location
- #name: $(date +%Y-%m-%d)
- #discard-paths: yes
- #base-directory: location
- #cache:
- #paths:
- # - paths
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement