From 7c46691517846d582db8a25f663c4d0cf4d66ee3 Mon Sep 17 00:00:00 2001 From: Jackie Quach Date: Thu, 19 Sep 2024 15:56:19 -0400 Subject: [PATCH] update github actions --- .github/workflows/Playwright.yml | 4 ++-- .github/workflows/build-production.yaml | 10 +++++----- .github/workflows/build-qa.yml | 8 ++++---- CHANGELOG.md | 1 + 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/Playwright.yml b/.github/workflows/Playwright.yml index 03530913..765d1ab2 100644 --- a/.github/workflows/Playwright.yml +++ b/.github/workflows/Playwright.yml @@ -13,9 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" diff --git a/.github/workflows/build-production.yaml b/.github/workflows/build-production.yaml index f6e1a522..e7b307a0 100644 --- a/.github/workflows/build-production.yaml +++ b/.github/workflows/build-production.yaml @@ -13,7 +13,7 @@ jobs: if: github.event.pull_request.merged runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # the tag will match the package.json version (eg. v1.0.0) - name: Tag @@ -46,16 +46,16 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" cache: npm - name: Configure AWS credentials from Test account - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -63,7 +63,7 @@ jobs: - name: Login to Amazon ECR id: login-ecr - uses: aws-actions/amazon-ecr-login@v1 + uses: aws-actions/amazon-ecr-login@v2 - name: Build, tag, and push image to Amazon ECR env: diff --git a/.github/workflows/build-qa.yml b/.github/workflows/build-qa.yml index 14b423ed..f1de48d8 100644 --- a/.github/workflows/build-qa.yml +++ b/.github/workflows/build-qa.yml @@ -13,16 +13,16 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" cache: npm - name: Configure AWS credentials from Test account - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -30,7 +30,7 @@ jobs: - name: Login to Amazon ECR id: login-ecr - uses: aws-actions/amazon-ecr-login@v1 + uses: aws-actions/amazon-ecr-login@v2 - name: Build, tag, and push image to Amazon ECR env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 21171438..b857d5a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Update Feedback component to use FeedbackContext - Update test renderer to include FeedbackProvider wrapper - Update pages to render Error page when there is a server-side error +- Update `actions/checkout`, `actions/setup-node`, `aws-actions/configure-aws-credentials`, and `aws-actions/amazon-ecr-login` Github action versions ## [0.18.2]