Skip to content

Commit 9385be9

Browse files
m-shakaAndarist
andauthored
Bump node.js to 20 on the CI (#350)
* chore: bump nodejs from 16 to 20 * Create kind-sheep-grab.md --------- Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
1 parent 2bb9bcb commit 9385be9

File tree

7 files changed

+32
-15
lines changed

7 files changed

+32
-15
lines changed

.changeset/kind-sheep-grab.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@changesets/action": patch
3+
---
4+
5+
Bump the used node.js from 16 to 20

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- name: Checkout Repo
1313
uses: actions/checkout@v2
1414

15-
- name: Use Node.js 16
15+
- name: Use Node.js 20
1616
uses: actions/setup-node@v1
1717
with:
18-
node-version: 16.x
18+
node-version: 20.x
1919

2020
- name: Install Dependencies
2121
run: yarn --frozen-lockfile

.github/workflows/version-or-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- name: Checkout Repo
1515
uses: actions/checkout@v2
1616

17-
- name: Use Node.js 16
17+
- name: Use Node.js 20
1818
uses: actions/setup-node@v1
1919
with:
20-
node-version: 16.x
20+
node-version: 20.x
2121

2222
- name: Install Dependencies
2323
run: yarn --frozen-lockfile

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
- name: Checkout Repo
4444
uses: actions/checkout@v3
4545

46-
- name: Setup Node.js 16
46+
- name: Setup Node.js 20
4747
uses: actions/setup-node@v3
4848
with:
49-
node-version: 16
49+
node-version: 20
5050

5151
- name: Install Dependencies
5252
run: yarn
@@ -79,10 +79,10 @@ jobs:
7979
- name: Checkout Repo
8080
uses: actions/checkout@v3
8181
82-
- name: Setup Node.js 16.x
82+
- name: Setup Node.js 20.x
8383
uses: actions/setup-node@v3
8484
with:
85-
node-version: 16.x
85+
node-version: 20.x
8686
8787
- name: Install Dependencies
8888
run: yarn
@@ -144,10 +144,10 @@ jobs:
144144
- name: Checkout Repo
145145
uses: actions/checkout@v3
146146
147-
- name: Setup Node.js 16.x
147+
- name: Setup Node.js 20.x
148148
uses: actions/setup-node@v3
149149
with:
150-
node-version: 16.x
150+
node-version: 20.x
151151
152152
- name: Install Dependencies
153153
run: yarn
@@ -188,10 +188,10 @@ jobs:
188188
- name: Checkout Repo
189189
uses: actions/checkout@v3
190190
191-
- name: Setup Node.js 16.x
191+
- name: Setup Node.js 20.x
192192
uses: actions/setup-node@v3
193193
with:
194-
node-version: 16.x
194+
node-version: 20.x
195195
196196
- name: Install Dependencies
197197
run: yarn

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Changesets
22
description: A GitHub action to automate releases with Changesets
33
runs:
4-
using: "node16"
4+
using: "node20"
55
main: "dist/index.js"
66
inputs:
77
publish:

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@babel/preset-typescript": "^7.13.0",
1717
"@types/fs-extra": "^8.0.0",
1818
"@types/jest": "^29.5.1",
19-
"@types/node": "^12.7.1",
19+
"@types/node": "^20.11.17",
2020
"@types/semver": "^7.5.0",
2121
"babel-jest": "^29.5.0",
2222
"husky": "^3.0.3",
@@ -31,7 +31,7 @@
3131
"release": "node ./scripts/release.js"
3232
},
3333
"engines": {
34-
"node": ">= 16"
34+
"node": ">= 20"
3535
},
3636
"dependencies": {
3737
"@actions/core": "^1.10.0",

yarn.lock

+12
Original file line numberDiff line numberDiff line change
@@ -1733,6 +1733,13 @@
17331733
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240"
17341734
integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==
17351735

1736+
"@types/node@^20.11.17":
1737+
version "20.11.17"
1738+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.17.tgz#cdd642d0e62ef3a861f88ddbc2b61e32578a9292"
1739+
integrity sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==
1740+
dependencies:
1741+
undici-types "~5.26.4"
1742+
17361743
"@types/normalize-package-data@^2.4.0":
17371744
version "2.4.1"
17381745
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
@@ -4848,6 +4855,11 @@ unbox-primitive@^1.0.2:
48484855
has-symbols "^1.0.3"
48494856
which-boxed-primitive "^1.0.2"
48504857

4858+
undici-types@~5.26.4:
4859+
version "5.26.5"
4860+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
4861+
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
4862+
48514863
unherit@^1.0.4:
48524864
version "1.1.3"
48534865
resolved "https://registry.yarnpkg.com/unherit/-/unherit-1.1.3.tgz#6c9b503f2b41b262330c80e91c8614abdaa69c22"

0 commit comments

Comments
 (0)