From e98e4d1628a5f3be2be7c231e50981aee98723ae Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Thu, 25 Jan 2024 21:25:01 +0900 Subject: [PATCH] feat: update runtime to node 20 (#246) --- .github/workflows/ci.yml | 2 +- .github/workflows/update-major-version.yml | 2 +- README.md | 10 +++++----- action.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c067645..5b7ae7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 20.x cache: npm - run: npm ci - run: npm run build diff --git a/.github/workflows/update-major-version.yml b/.github/workflows/update-major-version.yml index 6fcdb91..3a4146e 100644 --- a/.github/workflows/update-major-version.yml +++ b/.github/workflows/update-major-version.yml @@ -11,7 +11,7 @@ on: type: choice description: The major version tag to update options: - - v3 + - v4 jobs: tag: diff --git a/README.md b/README.md index 5607484..70b6344 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This is useful if you `docker push` your images to Docker Hub. It provides an ea - uses: actions/checkout@v4 - name: Docker Hub Description - uses: peter-evans/dockerhub-description@v3 + uses: peter-evans/dockerhub-description@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} @@ -44,7 +44,7 @@ If this is not the case the path can be specified with the `readme-filepath` inp ```yml - name: Docker Hub Description - uses: peter-evans/dockerhub-description@v3 + uses: peter-evans/dockerhub-description@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} @@ -58,7 +58,7 @@ The GitHub repository description can be used for the Docker Hub `short-descript ```yml - name: Docker Hub Description - uses: peter-evans/dockerhub-description@v3 + uses: peter-evans/dockerhub-description@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} @@ -86,7 +86,7 @@ jobs: - uses: actions/checkout@v4 - name: Docker Hub Description - uses: peter-evans/dockerhub-description@v3 + uses: peter-evans/dockerhub-description@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} @@ -107,7 +107,7 @@ jobs: - uses: actions/checkout@v4 - name: Docker Hub Description - uses: peter-evans/dockerhub-description@v3 + uses: peter-evans/dockerhub-description@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} diff --git a/action.yml b/action.yml index 9358719..9899483 100644 --- a/action.yml +++ b/action.yml @@ -27,7 +27,7 @@ inputs: File extensions that will be treated as images Default: `bmp,gif,jpg,jpeg,png,svg,webp` runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' branding: icon: 'upload' diff --git a/package-lock.json b/package-lock.json index 1510d9b..84a8919 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dockerhub-description", - "version": "3.0.0", + "version": "4.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dockerhub-description", - "version": "3.0.0", + "version": "4.0.0", "license": "MIT", "dependencies": { "@actions/core": "^1.10.1", diff --git a/package.json b/package.json index a69771f..3808144 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dockerhub-description", - "version": "3.0.0", + "version": "4.0.0", "private": true, "description": "An action to update a Docker Hub repository description from README.md", "main": "lib/main.js",