From 6467b96231c45da20bd7c8e2d2cf71eb03ea2cc5 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Mon, 7 Feb 2022 14:05:30 -0500 Subject: [PATCH 1/2] Update default runtime to node16 Node 12 has an end of life on April 30, 2022. This PR updates the default runtime to [node16](https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/), rather then node12. This is supported on all Actions Runners v2.285.0 or later. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 5cf52fc17..73b883bcc 100644 --- a/action.yml +++ b/action.yml @@ -198,5 +198,5 @@ outputs: staled-issues-prs: description: 'List of all staled issues and pull requests.' runs: - using: 'node12' + using: 'node16' main: 'dist/index.js' From 76e9fbc6aed3c0c0ae07b80482afa556484462ce Mon Sep 17 00:00:00 2001 From: Thomas Boop Date: Thu, 10 Feb 2022 14:40:59 -0500 Subject: [PATCH 2/2] update node version --- .github/workflows/check-dist.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 3481b1f4c..ce9a9235f 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -23,10 +23,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set Node.js 12.x + - name: Set Node.js 16.x uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 16.x - name: Install dependencies run: npm ci