Skip to content

Commit 68d2014

Browse files
committed
chore: drop node 18 support and use 22 for builds
1 parent 421fd73 commit 68d2014

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node-version: [18.x, 20.x, 22.x]
16+
node-version: [20.x, 22.x]
1717
steps:
1818
- uses: actions/checkout@v4
1919
with:
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-latest
3939
strategy:
4040
matrix:
41-
node-version: [18.x, 20.x, 22.x]
41+
node-version: [20.x, 22.x]
4242
steps:
4343
- uses: actions/checkout@v4
4444
with:

.github/workflows/release.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
node-version: [18.x, 20.x, 22.x]
11+
node-version: [20.x, 22.x]
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Use Node.js ${{ matrix.node-version }}
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
matrix:
30-
node-version: [18.x, 20.x, 22.x]
30+
node-version: [20.x, 22.x]
3131
steps:
3232
- uses: actions/checkout@v4
3333
- name: Use Node.js ${{ matrix.node-version }}
@@ -46,10 +46,10 @@ jobs:
4646
- uses: actions/checkout@v4
4747
with:
4848
fetch-depth: 0
49-
- name: Use Node.js 18.x
49+
- name: Use Node.js 22.x
5050
uses: actions/setup-node@v4
5151
with:
52-
node-version: 18.x
52+
node-version: 22.x
5353
cache: 'yarn'
5454
- run: git pull
5555
- run: yarn
@@ -94,10 +94,10 @@ jobs:
9494
echo "npmAuthToken: ${{ secrets.NPM_TOKEN }}" >> ~/.yarnrc.yml
9595
echo "npmAlwaysAuth: true" >> ~/.yarnrc.yml
9696
echo "npmPublishRegistry: https://registry.npmjs.org" >> ~/.yarnrc.yml
97-
- name: Use Node.js ${{ matrix.node-version }}
97+
- name: Use Node.js 22
9898
uses: actions/setup-node@v4
9999
with:
100-
node-version: 18.x
100+
node-version: 22.x
101101
cache: 'yarn'
102102
- run: git pull
103103
- run: yarn
@@ -121,10 +121,10 @@ jobs:
121121
echo "npmAuthToken: ${{ secrets.NPM_TOKEN }}" >> ~/.yarnrc.yml
122122
echo "npmAlwaysAuth: true" >> ~/.yarnrc.yml
123123
echo "npmPublishRegistry: https://registry.npmjs.org" >> ~/.yarnrc.yml
124-
- name: Use Node.js ${{ matrix.node-version }}
124+
- name: Use Node.js 22
125125
uses: actions/setup-node@v4
126126
with:
127-
node-version: 18.x
127+
node-version: 22.x
128128
cache: 'yarn'
129129
- run: git pull
130130
- run: yarn
@@ -148,10 +148,10 @@ jobs:
148148
echo "npmAuthToken: ${{ secrets.NPM_TOKEN }}" >> ~/.yarnrc.yml
149149
echo "npmAlwaysAuth: true" >> ~/.yarnrc.yml
150150
echo "npmPublishRegistry: https://registry.npmjs.org" >> ~/.yarnrc.yml
151-
- name: Use Node.js ${{ matrix.node-version }}
151+
- name: Use Node.js 22
152152
uses: actions/setup-node@v4
153153
with:
154-
node-version: 18.x
154+
node-version: 22.x
155155
cache: 'yarn'
156156
- run: git pull
157157
- run: yarn
@@ -175,10 +175,10 @@ jobs:
175175
echo "npmAuthToken: ${{ secrets.NPM_TOKEN }}" >> ~/.yarnrc.yml
176176
echo "npmAlwaysAuth: true" >> ~/.yarnrc.yml
177177
echo "npmPublishRegistry: https://registry.npmjs.org" >> ~/.yarnrc.yml
178-
- name: Use Node.js ${{ matrix.node-version }}
178+
- name: Use Node.js 22
179179
uses: actions/setup-node@v4
180180
with:
181-
node-version: 18.x
181+
node-version: 22.x
182182
cache: 'yarn'
183183
- run: git pull
184184
- run: yarn
@@ -202,10 +202,10 @@ jobs:
202202
echo "npmAuthToken: ${{ secrets.NPM_TOKEN }}" >> ~/.yarnrc.yml
203203
echo "npmAlwaysAuth: true" >> ~/.yarnrc.yml
204204
echo "npmPublishRegistry: https://registry.npmjs.org" >> ~/.yarnrc.yml
205-
- name: Use Node.js ${{ matrix.node-version }}
205+
- name: Use Node.js 22
206206
uses: actions/setup-node@v4
207207
with:
208-
node-version: 18.x
208+
node-version: 22.x
209209
cache: 'yarn'
210210
- run: git pull
211211
- run: yarn
@@ -229,10 +229,10 @@ jobs:
229229
echo "npmAuthToken: ${{ secrets.NPM_TOKEN }}" >> ~/.yarnrc.yml
230230
echo "npmAlwaysAuth: true" >> ~/.yarnrc.yml
231231
echo "npmPublishRegistry: https://registry.npmjs.org" >> ~/.yarnrc.yml
232-
- name: Use Node.js ${{ matrix.node-version }}
232+
- name: Use Node.js 22
233233
uses: actions/setup-node@v4
234234
with:
235-
node-version: 18.x
235+
node-version: 22.x
236236
cache: 'yarn'
237237
- run: git pull
238238
- run: yarn
@@ -256,10 +256,10 @@ jobs:
256256
echo "npmAuthToken: ${{ secrets.NPM_TOKEN }}" >> ~/.yarnrc.yml
257257
echo "npmAlwaysAuth: true" >> ~/.yarnrc.yml
258258
echo "npmPublishRegistry: https://registry.npmjs.org" >> ~/.yarnrc.yml
259-
- name: Use Node.js ${{ matrix.node-version }}
259+
- name: Use Node.js 22
260260
uses: actions/setup-node@v4
261261
with:
262-
node-version: 18.x
262+
node-version: 22.x
263263
cache: 'yarn'
264264
- run: git pull
265265
- run: yarn
@@ -283,10 +283,10 @@ jobs:
283283
echo "npmAuthToken: ${{ secrets.NPM_TOKEN }}" >> ~/.yarnrc.yml
284284
echo "npmAlwaysAuth: true" >> ~/.yarnrc.yml
285285
echo "npmPublishRegistry: https://registry.npmjs.org" >> ~/.yarnrc.yml
286-
- name: Use Node.js ${{ matrix.node-version }}
286+
- name: Use Node.js 22
287287
uses: actions/setup-node@v4
288288
with:
289-
node-version: 18.x
289+
node-version: 22.x
290290
cache: 'yarn'
291291
- run: git pull
292292
- run: yarn

0 commit comments

Comments
 (0)