From 33ae16c5a267e97dbf23b0ea38d6f20c0eca6ff8 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Thu, 23 Jan 2025 17:29:23 -0500 Subject: [PATCH 1/2] Add NodeJS version 22 to test workflow This PR adds NodeJS version 22 to the test workflow since Lambda has recently started supporting this version. See https://aws.amazon.com/blogs/compute/node-js-22-runtime-now-available-in-aws-lambda/. --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1230e15..a0d4b4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,7 @@ jobs: node_version: - 18 - 20 + - 22 steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node_version }} @@ -31,6 +32,6 @@ jobs: - uses: actions/setup-node@v3 with: cache: npm - node-version: 16 + node-version: 22 - run: npm ci - run: npm run lint From 05612d2381d6e4db26fcd395bc8bb78ea388f408 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Thu, 23 Jan 2025 17:31:12 -0500 Subject: [PATCH 2/2] update all actions versions --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b040d6c..4965991 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,8 +11,8 @@ jobs: name: release 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: lts/* cache: npm diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0d4b4c..66c35a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,9 +16,9 @@ jobs: - 20 - 22 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node_version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node_version }} cache: npm @@ -28,8 +28,8 @@ jobs: runs-on: ubuntu-latest needs: test_matrix steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: cache: npm node-version: 22