This repository was archived by the owner on Dec 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 44language : node_js
55env :
66 - COMMITCOUNT="$(git log $(git describe --tags --abbrev=0)..HEAD --oneline|grep -iv 'revert' |grep -e 'fix(' -e 'feat(' -e 'fix:' -e 'feat:' | wc -l | awk '{print $1}')"
7- - SLS_NAME="$(echo sls-$TRAVIS_BRANCH | sed 's/[^a-zA-Z0-9-]//g' |cut -c1-20)"
87cache :
98 directories :
109 - ~/.npm
@@ -13,13 +12,12 @@ notifications:
1312node_js :
1413 - ' 10'
1514before_install :
16- - pip install awscli
1715 - git log $(git describe --tags --abbrev=0)..HEAD --oneline
1816 - echo $COMMITCOUNT
19- - echo $SLSNAME
2017install :
2118 - npm config set package-lock false
2219 - make install
20+
2321jobs :
2422 include :
2523 - script :
3937 - npm run test
4038 before_script : cd packages/server
4139 name : test-server
42- - stage : deploy
43- if : (type = pull_request)
44- before_script :
45- - make fake-credentials
46- - cd packages/cli
47- script :
48- - npm run build
49- - bin/run --version
50- - bin/run create-stack ../../db.json -i=us-east-1 -d='serverless deploy test' -n=$SLS_NAME -y
51- - cd $SLS_NAME && aws s3 rm s3://jsonsls-$SLS_NAME-dev/ --recursive && sls remove
52- after_script :
53- - aws cloudformation delete-stack --stack-name $SLS_NAME
5440 - stage : release
5541 if : (type = push AND branch = master)
5642 before_script :
You can’t perform that action at this time.
0 commit comments