Skip to content

Commit 8aa51f6

Browse files
committed
chore: update Node.js version to 20 in workflows and action configuration
1 parent e17d1ee commit 8aa51f6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: '22'
26+
node-version: '20'
2727
cache: 'npm'
2828

2929
- name: Install dependencies
@@ -52,7 +52,7 @@ jobs:
5252
- name: Setup Node.js
5353
uses: actions/setup-node@v4
5454
with:
55-
node-version: '22'
55+
node-version: '20'
5656
registry-url: 'https://registry.npmjs.org'
5757

5858
- name: Install dependencies

.github/workflows/validate-commits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: '16'
19+
node-version: '20'
2020

2121
- name: Validate Commit Messages
2222
uses: ./ # Assumes action is in the root directory

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
required: false
1111
default: '^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\(\w+\))?: .+$'
1212
runs:
13-
using: 'node16'
13+
using: 'node20'
1414
main: 'dist/index.js'
1515
branding:
1616
icon: 'check-circle'

0 commit comments

Comments
 (0)