Skip to content

Commit c8ccafe

Browse files
authored
ci: bump node.js to 24 (#103)
1 parent 9c5e30f commit c8ccafe

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/action-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4
2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version: "20"
25+
node-version: "24"
2626
- run: npm install -g yarn
2727
- run: yarn install
2828
- run: yarn run build
@@ -75,7 +75,7 @@ jobs:
7575
# We expect the comment to be truncated, so we don't need to check the full content
7676
# Just ensure the action runs without error and the summary is present
7777
include-plan-job-summary: true
78-
78+
7979
- name: Test PR comment hiding with default header
8080
id: hide_default_header
8181
uses: ./
@@ -118,7 +118,7 @@ jobs:
118118
env:
119119
COMMENT_BODY: ${{ steps.multiline_hide_default.outputs.comment-body }}
120120

121-
121+
122122

123123
- name: Test multiple json files
124124
id: multiple_files
@@ -177,7 +177,7 @@ jobs:
177177
- uses: actions/checkout@v4
178178
- uses: actions/setup-node@v4
179179
with:
180-
node-version: "20"
180+
node-version: "24"
181181
- run: npm install -g yarn
182182
- run: yarn install
183183
- run: yarn run build
@@ -204,7 +204,7 @@ jobs:
204204
- uses: actions/checkout@v4
205205
- uses: actions/setup-node@v4
206206
with:
207-
node-version: "20"
207+
node-version: "24"
208208
- run: npm install -g yarn
209209
- run: yarn install
210210
- run: yarn run build

.github/workflows/reusable-terraform-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: "20"
23+
node-version: "24"
2424
- run: yarn install
2525
- run: yarn run build
2626

@@ -31,4 +31,4 @@ jobs:
3131
comment-header: "Terraform Plan via Reusable Workflow (workflow_call event)"
3232
expand-comment: "true"
3333
include-workflow-link: "true"
34-
include-job-link: "true"
34+
include-job-link: "true"

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ inputs:
5757
required: false
5858
default: "false"
5959
runs:
60-
using: node20
60+
using: node24
6161
main: dist/index.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"url": "https://github.com/liatrio/terraform-change-pr-commenter.git"
1313
},
1414
"engines": {
15-
"node": "20"
15+
"node": "24"
1616
},
1717
"release": {
1818
"branches": [

0 commit comments

Comments
 (0)