Skip to content

Commit e98e4d1

Browse files
authored
feat: update runtime to node 20 (#246)
1 parent 487b453 commit e98e4d1

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
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: 16.x
25+
node-version: 20.x
2626
cache: npm
2727
- run: npm ci
2828
- run: npm run build

.github/workflows/update-major-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
type: choice
1212
description: The major version tag to update
1313
options:
14-
- v3
14+
- v4
1515

1616
jobs:
1717
tag:

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This is useful if you `docker push` your images to Docker Hub. It provides an ea
1111
- uses: actions/checkout@v4
1212

1313
- name: Docker Hub Description
14-
uses: peter-evans/dockerhub-description@v3
14+
uses: peter-evans/dockerhub-description@v4
1515
with:
1616
username: ${{ secrets.DOCKERHUB_USERNAME }}
1717
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -44,7 +44,7 @@ If this is not the case the path can be specified with the `readme-filepath` inp
4444

4545
```yml
4646
- name: Docker Hub Description
47-
uses: peter-evans/dockerhub-description@v3
47+
uses: peter-evans/dockerhub-description@v4
4848
with:
4949
username: ${{ secrets.DOCKERHUB_USERNAME }}
5050
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -58,7 +58,7 @@ The GitHub repository description can be used for the Docker Hub `short-descript
5858

5959
```yml
6060
- name: Docker Hub Description
61-
uses: peter-evans/dockerhub-description@v3
61+
uses: peter-evans/dockerhub-description@v4
6262
with:
6363
username: ${{ secrets.DOCKERHUB_USERNAME }}
6464
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -86,7 +86,7 @@ jobs:
8686
- uses: actions/checkout@v4
8787
8888
- name: Docker Hub Description
89-
uses: peter-evans/dockerhub-description@v3
89+
uses: peter-evans/dockerhub-description@v4
9090
with:
9191
username: ${{ secrets.DOCKERHUB_USERNAME }}
9292
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -107,7 +107,7 @@ jobs:
107107
- uses: actions/checkout@v4
108108
109109
- name: Docker Hub Description
110-
uses: peter-evans/dockerhub-description@v3
110+
uses: peter-evans/dockerhub-description@v4
111111
with:
112112
username: ${{ secrets.DOCKERHUB_USERNAME }}
113113
password: ${{ secrets.DOCKERHUB_PASSWORD }}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ inputs:
2727
File extensions that will be treated as images
2828
Default: `bmp,gif,jpg,jpeg,png,svg,webp`
2929
runs:
30-
using: 'node16'
30+
using: 'node20'
3131
main: 'dist/index.js'
3232
branding:
3333
icon: 'upload'

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dockerhub-description",
3-
"version": "3.0.0",
3+
"version": "4.0.0",
44
"private": true,
55
"description": "An action to update a Docker Hub repository description from README.md",
66
"main": "lib/main.js",

0 commit comments

Comments
 (0)