Skip to content

Commit e5d6447

Browse files
TrottBethGriggs
authored andcommitted
tools: use Node.js 16.x for GitHub workflow
find-inactive-collaborators.mjs works fine with Node.js 16.x, but GitHub Actions currently use 14.x by default. PR-URL: #39362 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent a747257 commit e5d6447

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/find-inactive-collaborators.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
17-
- run: tools/find-inactive-collaborators.mjs '1 year ago'
16+
- uses: actions/checkout@v2
17+
18+
- name: Install Node.js
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: 16.x
22+
23+
- name: Find inactive collaborators
24+
run: tools/find-inactive-collaborators.mjs '1 year ago'

0 commit comments

Comments
 (0)