Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 24.x
cache: npm

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ outputs:
description: The SHA of the commit where the version change has been detected

runs:
using: node20
using: node24
main: 'lib/index.js'

branding:
Expand Down
6 changes: 3 additions & 3 deletions doc/auto-publish-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: main

Expand All @@ -26,7 +26,7 @@ jobs:

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

Expand All @@ -42,7 +42,7 @@ jobs:

- name: Set up Node.js for GPR
if: steps.check.outputs.changed == 'true'
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
registry-url: 'https://npm.pkg.github.com/'
scope: '@endbug'
Expand Down
12 changes: 6 additions & 6 deletions doc/auto-publish-walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20.x'
node-version: '24.x'

- name: Install dependencies
run: npm install --only=prod
Expand Down Expand Up @@ -59,7 +59,7 @@ You need to set up these two steps:
```yml
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: main

Expand Down Expand Up @@ -90,7 +90,7 @@ In this example, I'll assume your secret is called `NPM_TOKEN`:
```yml
- name: Set up Node.js for NPM
if: steps.check.outputs.changed == 'true'
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
registry-url: 'https://registry.npmjs.org' # This is just the default registry URL

Expand Down Expand Up @@ -141,7 +141,7 @@ fs.writeFileSync(join(__dirname, '../package.json'), JSON.stringify(pkg))
```yml
- name: Set up Node.js for GPR
if: steps.check.outputs.changed == 'true'
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
registry-url: 'https://npm.pkg.github.com/'
scope: '@yourscope'
Expand Down
4 changes: 3 additions & 1 deletion lib/index.js

Large diffs are not rendered by default.

Loading
Loading