Skip to content

Commit

Permalink
Bump Node.js to version 20 (#14)
Browse files Browse the repository at this point in the history
GitHub has deprecated Node.js 16 and requires every action to update to
Node.js 20.

Update the CI to run on Node.js 20 and the action to run on Node.js 20.

Fixes #13
  • Loading branch information
tombruijn authored May 2, 2024
1 parent 7ecb985 commit b97c62c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm ci
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.17.0
nodejs 20.12.2
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Lintje"
description: "A Git Linter for People. Validate your commits on every push."
author: "Tom de Bruijn <[email protected]>"
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
inputs:
branch_validation:
Expand Down

0 comments on commit b97c62c

Please sign in to comment.