Skip to content

Commit f6af013

Browse files
TplemeEndBug
andauthored
chore!: updated node version, actions versions and dependencies (#320)
Co-authored-by: Federico Grandi <fgrandi30@gmail.com>
1 parent 0ce27ab commit f6af013

File tree

8 files changed

+762
-2216
lines changed

8 files changed

+762
-2216
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 20.x
22+
node-version: 24.x
2323
cache: npm
2424

2525
- name: Install dependencies

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ outputs:
4040
description: The SHA of the commit where the version change has been detected
4141

4242
runs:
43-
using: node20
43+
using: node24
4444
main: 'lib/index.js'
4545

4646
branding:

doc/auto-publish-example.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616
with:
1717
ref: main
1818

@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Set up Node.js for NPM
2828
if: steps.check.outputs.changed == 'true'
29-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@v6
3030
with:
3131
registry-url: 'https://registry.npmjs.org'
3232

@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Set up Node.js for GPR
4444
if: steps.check.outputs.changed == 'true'
45-
uses: actions/setup-node@v4
45+
uses: actions/setup-node@v6
4646
with:
4747
registry-url: 'https://npm.pkg.github.com/'
4848
scope: '@endbug'

doc/auto-publish-walkthrough.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121

2222
- name: Set up Node.js
23-
uses: actions/setup-node@v4
23+
uses: actions/setup-node@v6
2424
with:
25-
node-version: '20.x'
25+
node-version: '24.x'
2626

2727
- name: Install dependencies
2828
run: npm install --only=prod
@@ -59,7 +59,7 @@ You need to set up these two steps:
5959
```yml
6060
steps:
6161
- name: Checkout repository
62-
uses: actions/checkout@v4
62+
uses: actions/checkout@v6
6363
with:
6464
ref: main
6565
@@ -90,7 +90,7 @@ In this example, I'll assume your secret is called `NPM_TOKEN`:
9090
```yml
9191
- name: Set up Node.js for NPM
9292
if: steps.check.outputs.changed == 'true'
93-
uses: actions/setup-node@v1
93+
uses: actions/setup-node@v6
9494
with:
9595
registry-url: 'https://registry.npmjs.org' # This is just the default registry URL
9696
@@ -141,7 +141,7 @@ fs.writeFileSync(join(__dirname, '../package.json'), JSON.stringify(pkg))
141141
```yml
142142
- name: Set up Node.js for GPR
143143
if: steps.check.outputs.changed == 'true'
144-
uses: actions/setup-node@v1
144+
uses: actions/setup-node@v6
145145
with:
146146
registry-url: 'https://npm.pkg.github.com/'
147147
scope: '@yourscope'

lib/index.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)