From 4202241ccada6f83f838525a8af979a4ec900a49 Mon Sep 17 00:00:00 2001 From: Tatyana Kostromskaya <32135588+takost@users.noreply.github.com> Date: Fri, 17 Nov 2023 12:02:33 +0000 Subject: [PATCH] Update action to node20 --- .github/workflows/check-dist.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- action.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 3a2344f..3965cac 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -24,10 +24,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup Node 16 + - name: Setup Node 20 uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47cc4da..c15d215 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,11 +23,11 @@ jobs: - name: Checkout uses: actions/checkout@v3 - # using node 16 since that is what the latest version of the runner ships with - - name: Setup Node 16 + # using node 20 since that is what the latest version of the runner ships with + - name: Setup Node 20 uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x cache: 'npm' - name: npm install diff --git a/action.yml b/action.yml index 8011381..55837f4 100644 --- a/action.yml +++ b/action.yml @@ -12,5 +12,5 @@ outputs: download-path: description: 'Path of artifact download' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js'