Skip to content

Commit

Permalink
Bug/Serverless Upgrade
Browse files Browse the repository at this point in the history
- Upgraded node version
- Updated the deploy script for both prod and dev for v2(golang) apis

Signed-off-by: Harold Wanyama <[email protected]>
  • Loading branch information
nickmango committed Jun 11, 2024
1 parent ee12152 commit 2f97880
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
- name: Setup python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
if [[ ! -f bin/backend-aws-lambda ]]; then echo "Missing bin/backend-aws-lambda binary file. Exiting..."; exit 1; fi
if [[ ! -f bin/user-subscribe-lambda ]]; then echo "Missing bin/user-subscribe-lambda binary file. Exiting..."; exit 1; fi
yarn install
yarn sls deploy --force --stage ${STAGE} --region us-east-2
sls deploy --force --stage ${STAGE} --region us-east-2
- name: EasyCLA v2 Service Check
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
- name: Setup python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
if [[ ! -f bin/backend-aws-lambda ]]; then echo "Missing bin/backend-aws-lambda binary file. Exiting..."; exit 1; fi
if [[ ! -f bin/user-subscribe-lambda ]]; then echo "Missing bin/user-subscribe-lambda binary file. Exiting..."; exit 1; fi
yarn install
yarn sls deploy --force --stage ${STAGE} --region us-east-2
sls deploy --force --stage ${STAGE} --region us-east-2
- name: EasyCLA v2 Service Check
run: |
Expand Down

0 comments on commit 2f97880

Please sign in to comment.