From d94814849809e3a169361053c696299250bf4844 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 11 Jul 2021 23:18:43 -0700 Subject: [PATCH] tools: use Node.js 16.x for GitHub workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit find-inactive-collaborators.mjs works fine with Node.js 16.x, but GitHub Actions currently use 14.x by default. PR-URL: https://github.com/nodejs/node/pull/39362 Reviewed-By: Michaƫl Zasso Reviewed-By: Antoine du Hamel --- .github/workflows/find-inactive-collaborators.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/find-inactive-collaborators.yml b/.github/workflows/find-inactive-collaborators.yml index 8e459b5b8b2942..b975fb340308d3 100644 --- a/.github/workflows/find-inactive-collaborators.yml +++ b/.github/workflows/find-inactive-collaborators.yml @@ -13,5 +13,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - run: tools/find-inactive-collaborators.mjs '1 year ago' + - uses: actions/checkout@v2 + + - name: Install Node.js + uses: actions/setup-node@v2 + with: + node-version: 16.x + + - name: Find inactive collaborators + run: tools/find-inactive-collaborators.mjs '1 year ago'