From 5331867adb6f47a4ee3a01950751a0de7529a0c4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Jun 2026 15:55:58 +0000 Subject: [PATCH 1/2] Initial plan From 78db6d0a56dc31361affbd2a601606e23cc67c62 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Jun 2026 16:03:08 +0000 Subject: [PATCH 2/2] Fix publish-npm: update to Node 20, actions v4, and modern output syntax --- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/node.js.yml | 4 ++-- .github/workflows/npm-publish.yml | 14 +++++++------- .github/workflows/sdk-doc-gh-pages.yml | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1c825ad9..db2b7e18 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f789d870..b2806529 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -20,9 +20,9 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: CI/CD ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c2b215ae..defeff92 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -11,10 +11,10 @@ jobs: publish-npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm i --no-save aws-sdk@^2 - run: npm i --no-save @aws-sdk/client-lambda@^3 @aws-sdk/client-cloudformation@^3 @aws-sdk/client-dynamodb@^3 @aws-sdk/client-firehose@^3 @aws-sdk/client-kinesis@^3 @aws-sdk/client-s3@^3 @aws-sdk/client-secrets-manager@^3 @aws-sdk/client-sts@^3 @aws-sdk/credential-providers@^3 @aws-sdk/lib-dynamodb@^3 @aws-sdk/lib-storage@^3 @aws-sdk/types @@ -24,17 +24,17 @@ jobs: - name: Extract Version from Git Tag shell: bash - run: echo "##[set-output name=version;]$(echo ${GITHUB_REF#refs/tags/v})" + run: echo "version=$(echo ${GITHUB_REF#refs/tags/v})" >> $GITHUB_OUTPUT id: extract_version - name: Remove Tag from version shell: bash - run: echo "##[set-output name=value;]"$(echo "${{steps.extract_version.outputs.version}}" | awk -F'-' '{print $1}') + run: echo "value=$(echo "${{steps.extract_version.outputs.version}}" | awk -F'-' '{print $1}')" >> $GITHUB_OUTPUT id: version - - name: Extract npm Tag from Tag Tag + - name: Extract npm Tag from Git Tag shell: bash - run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/v*-})" + run: echo "tag=$(echo ${GITHUB_REF#refs/tags/v*-})" >> $GITHUB_OUTPUT id: extract_tag - run: echo ref ${{github.ref}} diff --git a/.github/workflows/sdk-doc-gh-pages.yml b/.github/workflows/sdk-doc-gh-pages.yml index 754f22dc..ab45e5fd 100644 --- a/.github/workflows/sdk-doc-gh-pages.yml +++ b/.github/workflows/sdk-doc-gh-pages.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout đŸ›Žī¸ - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. run: |