From 28c3d5cef945b12ad22a5a5cb9a230ecde1ee96f Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Mon, 7 Feb 2022 14:02:52 -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 4a32e12ba..15d93e63e 100644 --- a/action.yml +++ b/action.yml @@ -11,5 +11,5 @@ inputs: description: Used to pull node distributions from go-versions. Since there's a default, this is typically not supplied by the user. default: ${{ github.token }} runs: - using: 'node12' + using: 'node16' main: 'dist/index.js' From 4314d44d94335bc07587c5c37888c1152c6031da Mon Sep 17 00:00:00 2001 From: Thomas Boop Date: Thu, 10 Feb 2022 16:40:06 -0500 Subject: [PATCH 2/2] update workflows --- .github/workflows/check-dist.yml | 4 ++-- .github/workflows/workflow.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index f03f47c48..8e9b07b85 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 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index b77cd17da..ba08c24fd 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -19,10 +19,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Setup node 12 + - name: Setup node 16 uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 16 cache: npm - name: npm install