From 2f9788045d01569025ed720656a951cab0634018 Mon Sep 17 00:00:00 2001 From: Harold Wanyama Date: Tue, 11 Jun 2024 22:02:16 +0300 Subject: [PATCH] Bug/Serverless Upgrade - Upgraded node version - Updated the deploy script for both prod and dev for v2(golang) apis Signed-off-by: Harold Wanyama --- .github/workflows/deploy-dev.yml | 4 ++-- .github/workflows/deploy-prod.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 32b16c280..1971da2ea 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -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: @@ -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: | diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index f009e4603..e59e42762 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -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: @@ -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: |