Skip to content

Commit b78a335

Browse files
committed
chore: update dependencies + move to node 24
1 parent 4fe6d8d commit b78a335

File tree

9 files changed

+49425
-26852
lines changed

9 files changed

+49425
-26852
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
steps:
1111
- name: Checkout Code
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v5
1313
if: ${{ !env.ACT }}
1414
with:
1515
fetch-depth: 0
@@ -77,7 +77,7 @@ jobs:
7777
# LOCAL TEST
7878

7979
- name: (local) Checkout Code
80-
uses: actions/checkout@v2
80+
uses: actions/checkout@v5
8181
if: ${{ env.ACT }}
8282
with:
8383
path: changelog-action

.npmrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
save-exact = true
2-
save-prefix = ""
2+
save-prefix = ""
3+
fund = false
4+
audit = false

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 requarks.io
3+
Copyright (c) 2022-2025 requarks.io
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ outputs:
5454
changes:
5555
description: Generated changelog
5656
runs:
57-
using: 'node20'
57+
using: 'node24'
5858
main: 'dist/index.js'
5959
branding:
6060
icon: wind

dist/index.js

Lines changed: 45984 additions & 23157 deletions
Large diffs are not rendered by default.

index.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ async function main () {
8585
let previousTag = null
8686

8787
if (tag && (fromTag || toTag)) {
88-
return core.setFailed(`Must provide EITHER input tag OR (fromTag and toTag), not both!`)
88+
return core.setFailed('Must provide EITHER input tag OR (fromTag and toTag), not both!')
8989
} else if (tag) {
90-
9190
// GET LATEST + PREVIOUS TAGS
9291

9392
core.info(`Using input tag: ${tag}`)
@@ -121,21 +120,20 @@ async function main () {
121120
}
122121

123122
if (latestTag.name !== tag) {
124-
return core.setFailed(`Provided tag doesn\'t match latest tag ${tag}.`)
123+
return core.setFailed(`Provided tag doesn't match latest tag ${tag}.`)
125124
}
126125

127126
core.info(`Using latest tag: ${latestTag.name}`)
128127
core.info(`Using previous tag: ${previousTag.name}`)
129128
} else if (fromTag && toTag) {
130-
131129
// GET FROM + TO TAGS FROM INPUTS
132130

133131
latestTag = { name: fromTag }
134132
previousTag = { name: toTag }
135133

136134
core.info(`Using tag range: ${fromTag} to ${toTag}`)
137135
} else {
138-
return core.setFailed(`Must provide either input tag OR (fromTag and toTag). None were provided!`)
136+
return core.setFailed('Must provide either input tag OR (fromTag and toTag). None were provided!')
139137
}
140138

141139
// GET COMMITS
@@ -372,7 +370,7 @@ async function main () {
372370
try {
373371
chglog = await fs.readFile(changelogFilePath, 'utf8')
374372
} catch (err) {
375-
core.info(`Couldn\'t find a ${changelogFilePath}, creating a new one...`)
373+
core.info(`Couldn't find a ${changelogFilePath}, creating a new one...`)
376374
chglog = `# Changelog
377375
All notable changes to this project will be documented in this file.
378376

0 commit comments

Comments
 (0)