From dd772d317b85e756df463a68e724aaf2fe31f4b8 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Mon, 7 Feb 2022 14:03:34 -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 faad23c38..c6af975a5 100644 --- a/action.yml +++ b/action.yml @@ -67,6 +67,6 @@ outputs: path: description: 'Path to where the java environment has been installed (same as $JAVA_HOME)' runs: - using: 'node12' + using: 'node16' main: 'dist/setup/index.js' post: 'dist/cleanup/index.js' From 7f40c48bfab73cdac28497f97fbf64a70d45c022 Mon Sep 17 00:00:00 2001 From: Thomas Boop Date: Thu, 10 Feb 2022 16:29:58 -0500 Subject: [PATCH 2/2] update node versions --- .github/workflows/build.yml | 4 ++-- .github/workflows/check-dist.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b8f42c5d..d3809e04b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,10 +20,10 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v2 - - name: Setup Node.JS 12 + - name: Setup Node.JS 16 uses: actions/setup-node@v2 with: - node-version: 12.x + node-version: 16.x cache: npm - run: npm ci - run: npm run build 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