Skip to content

Commit a89d349

Browse files
CopilotJamesIves
andauthored
chore: Migrate from Node.js 20 to Node.js 24 (#1230)
* Initial plan * Migrate from Node.js 20 to 24 Co-authored-by: JamesIves <10888441+JamesIves@users.noreply.github.com> * Fix unit test for Node.js 24 error message format Co-authored-by: JamesIves <10888441+JamesIves@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JamesIves <10888441+JamesIves@users.noreply.github.com>
1 parent 733095e commit a89d349

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.11.0
1+
v24.12.0

__tests__/fetch.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ describe('fetch', () => {
161161
})
162162
} catch (error) {
163163
expect(error instanceof Error && error.message).toBe(
164-
"There was an error generating the export file: TypeError [ERR_INVALID_ARG_VALUE]: The argument 'hexxxxx' is invalid encoding. Received 'encoding' ❌"
164+
"There was an error generating the export file: TypeError [ERR_INVALID_ARG_VALUE]: The argument 'encoding' is invalid encoding. Received 'hexxxxx' ❌"
165165
)
166166
}
167167
})

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Fetch API Data'
22
description: 'This action will handle authenticated API requests, allowing you to save the data from the request into your workspace.'
33
author: 'James Ives <iam@jamesiv.es>'
44
runs:
5-
using: 'node20'
5+
using: 'node24'
66
main: 'lib/main.js'
77
branding:
88
icon: 'truck'

0 commit comments

Comments
 (0)