From 35d224b2ca3f343a8b46e0362c097786a88513bb Mon Sep 17 00:00:00 2001 From: Aleksey Polyvanyi Date: Fri, 15 Mar 2024 00:41:48 +0100 Subject: [PATCH] feature/update-to-node20 (#287) --- .github/workflows/check.yml | 8 +++----- .github/workflows/package.yml | 8 +++----- action.yml | 2 +- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0cec9343..91e97aa2 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -9,13 +9,11 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - #Version actions/checkout@V3.6.0 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@v4 - name: Node setup - #Version actions/setup-node@v3.8.1 - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + uses: actions/setup-node@v4 with: - node-version: "18.16.1" + node-version: 20 - name: Run tests run: | npm ci diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 01284204..d37a08ce 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -11,15 +11,13 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - #Version actions/checkout@V3.6.0 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@v4 with: ref: master - name: Node setup - #Version actions/setup-node@v3.8.1 - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + uses: actions/setup-node@v4 with: - node-version: "18.16.1" + node-version: 20 - name: Package run: | npm ci diff --git a/action.yml b/action.yml index f6133706..28bae5e6 100644 --- a/action.yml +++ b/action.yml @@ -29,5 +29,5 @@ outputs: task-definition: description: 'The path to the rendered task definition file' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js'