Skip to content

Commit 48566bb

Browse files
authored
upgrade: nodejs to v20 (#1535)
1 parent d68a666 commit 48566bb

File tree

6 files changed

+76
-83
lines changed

6 files changed

+76
-83
lines changed

.github/workflows/sync-release-version.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
only_major: true
2222
paths: |
2323
README.md
24+
- name: Sync release package version.
25+
uses: tj-actions/sync-release-version@v13
26+
id: sync-release-package-version
27+
with:
28+
pattern: '"version": "'
29+
paths: |
30+
package.json
2431
- name: Run git-cliff
2532
uses: tj-actions/git-cliff@v1
2633
- name: Create Pull Request

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ jobs:
5252
fetch-depth: 0
5353
repository: ${{ github.event.pull_request.head.repo.full_name }}
5454

55-
- name: Use Node.js 16.x
55+
- name: Use Node.js 20.x
5656
uses: actions/[email protected]
5757
with:
5858
cache: 'yarn'
59-
node-version: '16.x'
59+
node-version: '20.x'
6060

6161
- name: Create coverage directory and clover.xml
6262
run: |

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
20

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ outputs:
272272
description: "Returns the number of `other_deleted_files`"
273273

274274
runs:
275-
using: 'node16'
275+
using: 'node20'
276276
main: 'dist/index.js'
277277

278278
branding:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tj-actions/changed-files",
3-
"version": "37.4.0",
3+
"version": "38.2.2",
44
"description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.",
55
"main": "lib/main.js",
66
"publishConfig": {
@@ -35,7 +35,7 @@
3535
"@actions/core": "^1.10.0",
3636
"@actions/exec": "^1.1.1",
3737
"@actions/github": "^5.1.1",
38-
"@octokit/rest": "^19.0.13",
38+
"@octokit/rest": "^20.0.1",
3939
"lodash": "^4.17.21",
4040
"micromatch": "^4.0.5",
4141
"yaml": "^2.3.1"

yarn.lock

Lines changed: 63 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -670,10 +670,10 @@
670670
dependencies:
671671
"@octokit/types" "^6.0.3"
672672

673-
"@octokit/auth-token@^3.0.0":
674-
version "3.0.4"
675-
resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.4.tgz#70e941ba742bdd2b49bdb7393e821dea8520a3db"
676-
integrity sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ==
673+
"@octokit/auth-token@^4.0.0":
674+
version "4.0.0"
675+
resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-4.0.0.tgz#40d203ea827b9f17f42a29c6afb93b7745ef80c7"
676+
integrity sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==
677677

678678
"@octokit/core@^3.6.0":
679679
version "3.6.0"
@@ -688,16 +688,16 @@
688688
before-after-hook "^2.2.0"
689689
universal-user-agent "^6.0.0"
690690

691-
"@octokit/core@^4.2.1":
692-
version "4.2.4"
693-
resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.2.4.tgz#d8769ec2b43ff37cc3ea89ec4681a20ba58ef907"
694-
integrity sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ==
695-
dependencies:
696-
"@octokit/auth-token" "^3.0.0"
697-
"@octokit/graphql" "^5.0.0"
698-
"@octokit/request" "^6.0.0"
699-
"@octokit/request-error" "^3.0.0"
700-
"@octokit/types" "^9.0.0"
691+
"@octokit/core@^5.0.0":
692+
version "5.0.0"
693+
resolved "https://registry.yarnpkg.com/@octokit/core/-/core-5.0.0.tgz#0fc2b6eb88437e5c1d69f756a5dcee7472d2b2dd"
694+
integrity sha512-YbAtMWIrbZ9FCXbLwT9wWB8TyLjq9mxpKdgB3dUNxQcIVTf9hJ70gRPwAcqGZdY6WdJPZ0I7jLaaNDCiloGN2A==
695+
dependencies:
696+
"@octokit/auth-token" "^4.0.0"
697+
"@octokit/graphql" "^7.0.0"
698+
"@octokit/request" "^8.0.2"
699+
"@octokit/request-error" "^5.0.0"
700+
"@octokit/types" "^11.0.0"
701701
before-after-hook "^2.2.0"
702702
universal-user-agent "^6.0.0"
703703

@@ -710,12 +710,12 @@
710710
is-plain-object "^5.0.0"
711711
universal-user-agent "^6.0.0"
712712

713-
"@octokit/endpoint@^7.0.0":
714-
version "7.0.6"
715-
resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.6.tgz#791f65d3937555141fb6c08f91d618a7d645f1e2"
716-
integrity sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg==
713+
"@octokit/endpoint@^9.0.0":
714+
version "9.0.0"
715+
resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-9.0.0.tgz#c5ce19c74b999b85af9a8a189275c80faa3e90fd"
716+
integrity sha512-szrQhiqJ88gghWY2Htt8MqUDO6++E/EIXqJ2ZEp5ma3uGS46o7LZAzSLt49myB7rT+Hfw5Y6gO3LmOxGzHijAQ==
717717
dependencies:
718-
"@octokit/types" "^9.0.0"
718+
"@octokit/types" "^11.0.0"
719719
is-plain-object "^5.0.0"
720720
universal-user-agent "^6.0.0"
721721

@@ -728,13 +728,13 @@
728728
"@octokit/types" "^6.0.3"
729729
universal-user-agent "^6.0.0"
730730

731-
"@octokit/graphql@^5.0.0":
732-
version "5.0.6"
733-
resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.6.tgz#9eac411ac4353ccc5d3fca7d76736e6888c5d248"
734-
integrity sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw==
731+
"@octokit/graphql@^7.0.0":
732+
version "7.0.1"
733+
resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-7.0.1.tgz#f2291620e17cdaa8115f8d0cdfc0644789ec2db2"
734+
integrity sha512-T5S3oZ1JOE58gom6MIcrgwZXzTaxRnxBso58xhozxHpOqSTgDS6YNeEUvZ/kRvXgPrRz/KHnZhtb7jUMRi9E6w==
735735
dependencies:
736-
"@octokit/request" "^6.0.0"
737-
"@octokit/types" "^9.0.0"
736+
"@octokit/request" "^8.0.1"
737+
"@octokit/types" "^11.0.0"
738738
universal-user-agent "^6.0.0"
739739

740740
"@octokit/openapi-types@^12.11.0":
@@ -754,18 +754,17 @@
754754
dependencies:
755755
"@octokit/types" "^6.40.0"
756756

757-
"@octokit/plugin-paginate-rest@^6.1.2":
758-
version "6.1.2"
759-
resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz#f86456a7a1fe9e58fec6385a85cf1b34072341f8"
760-
integrity sha512-qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ==
757+
"@octokit/plugin-paginate-rest@^8.0.0":
758+
version "8.0.0"
759+
resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-8.0.0.tgz#417b5367da2ba3c2d255a59b87c1cc608228ec38"
760+
integrity sha512-2xZ+baZWUg+qudVXnnvXz7qfrTmDeYPCzangBVq/1gXxii/OiS//4shJp9dnCCvj1x+JAm9ji1Egwm1BA47lPQ==
761761
dependencies:
762-
"@octokit/tsconfig" "^1.0.2"
763-
"@octokit/types" "^9.2.3"
762+
"@octokit/types" "^11.0.0"
764763

765-
"@octokit/plugin-request-log@^1.0.4":
766-
version "1.0.4"
767-
resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85"
768-
integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==
764+
"@octokit/plugin-request-log@^4.0.0":
765+
version "4.0.0"
766+
resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-4.0.0.tgz#260fa6970aa97bbcbd91f99f3cd812e2b285c9f1"
767+
integrity sha512-2uJI1COtYCq8Z4yNSnM231TgH50bRkheQ9+aH8TnZanB6QilOnx8RMD2qsnamSOXtDj0ilxvevf5fGsBhBBzKA==
769768

770769
"@octokit/plugin-rest-endpoint-methods@^5.13.0":
771770
version "5.16.2"
@@ -775,12 +774,12 @@
775774
"@octokit/types" "^6.39.0"
776775
deprecation "^2.3.1"
777776

778-
"@octokit/plugin-rest-endpoint-methods@^7.1.2":
779-
version "7.2.3"
780-
resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.2.3.tgz#37a84b171a6cb6658816c82c4082ac3512021797"
781-
integrity sha512-I5Gml6kTAkzVlN7KCtjOM+Ruwe/rQppp0QU372K1GP7kNOYEKe8Xn5BW4sE62JAHdwpq95OQK/qGNyKQMUzVgA==
777+
"@octokit/plugin-rest-endpoint-methods@^9.0.0":
778+
version "9.0.0"
779+
resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-9.0.0.tgz#e15d54540893202da107305ded2bfd21ce6f769d"
780+
integrity sha512-KquMF/VB1IkKNiVnzJKspY5mFgGyLd7HzdJfVEGTJFzqu9BRFNWt+nwTCMuUiWc72gLQhRWYubTwOkQj+w/1PA==
782781
dependencies:
783-
"@octokit/types" "^10.0.0"
782+
"@octokit/types" "^11.0.0"
784783

785784
"@octokit/request-error@^2.0.5", "@octokit/request-error@^2.1.0":
786785
version "2.1.0"
@@ -791,12 +790,12 @@
791790
deprecation "^2.0.0"
792791
once "^1.4.0"
793792

794-
"@octokit/request-error@^3.0.0":
795-
version "3.0.3"
796-
resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69"
797-
integrity sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==
793+
"@octokit/request-error@^5.0.0":
794+
version "5.0.0"
795+
resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-5.0.0.tgz#060c5770833f9d563ad9a49fec6650c41584bc40"
796+
integrity sha512-1ue0DH0Lif5iEqT52+Rf/hf0RmGO9NWFjrzmrkArpG9trFfDM/efx00BJHdLGuro4BR/gECxCU2Twf5OKrRFsQ==
798797
dependencies:
799-
"@octokit/types" "^9.0.0"
798+
"@octokit/types" "^11.0.0"
800799
deprecation "^2.0.0"
801800
once "^1.4.0"
802801

@@ -812,37 +811,31 @@
812811
node-fetch "^2.6.7"
813812
universal-user-agent "^6.0.0"
814813

815-
"@octokit/request@^6.0.0":
816-
version "6.2.8"
817-
resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.8.tgz#aaf480b32ab2b210e9dadd8271d187c93171d8eb"
818-
integrity sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw==
814+
"@octokit/request@^8.0.1", "@octokit/request@^8.0.2":
815+
version "8.1.1"
816+
resolved "https://registry.yarnpkg.com/@octokit/request/-/request-8.1.1.tgz#23b4d3f164e973f4c1a0f24f68256f1646c00620"
817+
integrity sha512-8N+tdUz4aCqQmXl8FpHYfKG9GelDFd7XGVzyN8rc6WxVlYcfpHECnuRkgquzz+WzvHTK62co5di8gSXnzASZPQ==
819818
dependencies:
820-
"@octokit/endpoint" "^7.0.0"
821-
"@octokit/request-error" "^3.0.0"
822-
"@octokit/types" "^9.0.0"
819+
"@octokit/endpoint" "^9.0.0"
820+
"@octokit/request-error" "^5.0.0"
821+
"@octokit/types" "^11.1.0"
823822
is-plain-object "^5.0.0"
824-
node-fetch "^2.6.7"
825823
universal-user-agent "^6.0.0"
826824

827-
"@octokit/rest@^19.0.13":
828-
version "19.0.13"
829-
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.13.tgz#e799393264edc6d3c67eeda9e5bd7832dcf974e4"
830-
integrity sha512-/EzVox5V9gYGdbAI+ovYj3nXQT1TtTHRT+0eZPcuC05UFSWO3mdO9UY1C0i2eLF9Un1ONJkAk+IEtYGAC+TahA==
825+
"@octokit/rest@^20.0.1":
826+
version "20.0.1"
827+
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-20.0.1.tgz#b8ee194b7cf89772d1e3fea3209f741c76a5efd3"
828+
integrity sha512-wROV21RwHQIMNb2Dgd4+pY+dVy1Dwmp85pBrgr6YRRDYRBu9Gb+D73f4Bl2EukZSj5hInq2Tui9o7gAQpc2k2Q==
831829
dependencies:
832-
"@octokit/core" "^4.2.1"
833-
"@octokit/plugin-paginate-rest" "^6.1.2"
834-
"@octokit/plugin-request-log" "^1.0.4"
835-
"@octokit/plugin-rest-endpoint-methods" "^7.1.2"
836-
837-
"@octokit/tsconfig@^1.0.2":
838-
version "1.0.2"
839-
resolved "https://registry.yarnpkg.com/@octokit/tsconfig/-/tsconfig-1.0.2.tgz#59b024d6f3c0ed82f00d08ead5b3750469125af7"
840-
integrity sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA==
830+
"@octokit/core" "^5.0.0"
831+
"@octokit/plugin-paginate-rest" "^8.0.0"
832+
"@octokit/plugin-request-log" "^4.0.0"
833+
"@octokit/plugin-rest-endpoint-methods" "^9.0.0"
841834

842-
"@octokit/types@^10.0.0":
843-
version "10.0.0"
844-
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-10.0.0.tgz#7ee19c464ea4ada306c43f1a45d444000f419a4a"
845-
integrity sha512-Vm8IddVmhCgU1fxC1eyinpwqzXPEYu0NrYzD3YZjlGjyftdLBTeqNblRC0jmJmgxbJIsQlyogVeGnrNaaMVzIg==
835+
"@octokit/types@^11.0.0", "@octokit/types@^11.1.0":
836+
version "11.1.0"
837+
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-11.1.0.tgz#9e5db741d582b05718a4d91bac8cc987def235ea"
838+
integrity sha512-Fz0+7GyLm/bHt8fwEqgvRBWwIV1S6wRRyq+V6exRKLVWaKGsuy6H9QFYeBVDV7rK6fO3XwHgQOPxv+cLj2zpXQ==
846839
dependencies:
847840
"@octokit/openapi-types" "^18.0.0"
848841

@@ -853,13 +846,6 @@
853846
dependencies:
854847
"@octokit/openapi-types" "^12.11.0"
855848

856-
"@octokit/types@^9.0.0", "@octokit/types@^9.2.3":
857-
version "9.3.2"
858-
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-9.3.2.tgz#3f5f89903b69f6a2d196d78ec35f888c0013cac5"
859-
integrity sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA==
860-
dependencies:
861-
"@octokit/openapi-types" "^18.0.0"
862-
863849
"@pkgr/utils@^2.3.1":
864850
version "2.4.2"
865851
resolved "https://registry.yarnpkg.com/@pkgr/utils/-/utils-2.4.2.tgz#9e638bbe9a6a6f165580dc943f138fd3309a2cbc"

0 commit comments

Comments
 (0)