From ab53076269145db2b4612107be8528df73ff71a4 Mon Sep 17 00:00:00 2001 From: Brandon Ly Date: Wed, 22 May 2024 10:54:06 -0400 Subject: [PATCH] Pin Serverless to a specific version (#1045) pin Serverless to a specific version --- .github/workflows/deploy-prd-ecs.yml | 2 +- .github/workflows/deploy-stg-ecs.yml | 6 +++--- README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-prd-ecs.yml b/.github/workflows/deploy-prd-ecs.yml index 61df05846..3f232cbeb 100644 --- a/.github/workflows/deploy-prd-ecs.yml +++ b/.github/workflows/deploy-prd-ecs.yml @@ -14,7 +14,7 @@ jobs: with: node-version: '18.x' - name: Install Serverless Framework - run: npm install -g serverless + run: npm install -g serverless@3 - name: Serverless AWS authentication run: sls config credentials --provider aws --key ${{ secrets.AWS_ACCESS_KEY_ID }} --secret ${{ secrets.AWS_SECRET_ACCESS_KEY }} - name: Configure AWS credentials diff --git a/.github/workflows/deploy-stg-ecs.yml b/.github/workflows/deploy-stg-ecs.yml index 2e0cfb462..37ed59875 100644 --- a/.github/workflows/deploy-stg-ecs.yml +++ b/.github/workflows/deploy-stg-ecs.yml @@ -1,8 +1,8 @@ on: push: branches: - - "main" - - "integration" + - 'main' + - 'integration' concurrency: group: environment-stg-${{ github.ref }} cancel-in-progress: true @@ -16,7 +16,7 @@ jobs: with: node-version: '18.x' - name: Install Serverless Framework - run: npm install -g serverless + run: npm install -g serverless@3 - name: Serverless AWS authentication run: sls config credentials --provider aws --key ${{ secrets.AWS_ACCESS_KEY_ID }} --secret ${{ secrets.AWS_SECRET_ACCESS_KEY }} - name: Configure AWS credentials diff --git a/README.md b/README.md index 4076e0470..917f19983 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ docs-worker-pool contains various triggers for release to higher environments. C #### Installation ```shell -npm install -g serverless +npm install -g serverless@3 ``` #### AWS Config