Skip to content

Commit 680d7cf

Browse files
authored
chore: use node22 in CI/CT (#360)
--------- Signed-off-by: Jan Kowalleck <[email protected]>
1 parent bea4ded commit 680d7cf

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

.github/workflows/nodejs.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ concurrency:
1616
group: ${{ github.workflow }}-${{ github.ref }}
1717
cancel-in-progress: true
1818

19+
env:
20+
# https://nodejs.dev/en/about/releases/
21+
NODE_ACTIVE_LTS: "20"
22+
1923
## As this project is a meta-package, there are no functionalities nor tests.
2024
## So the only responsibility that must be assured is: this project can be installed under all circumstances.
2125
jobs:
@@ -33,8 +37,9 @@ jobs:
3337
node-version:
3438
# action based on https://github.com/actions/node-versions/releases
3539
# see also: https://nodejs.org/en/about/releases/
36-
- "20" # Current
37-
- "18" # Active LTS
40+
- "22" # Current
41+
- "20" # Active LTS
42+
- "18"
3843
- "16"
3944
- "14"
4045
steps:
@@ -67,8 +72,9 @@ jobs:
6772
node-version:
6873
# action based on https://github.com/actions/node-versions/releases
6974
# see also: https://nodejs.org/en/about/releases/
70-
- "20" # Current
71-
- "18" # Active LTS
75+
- "22" # Current
76+
- "20" # Active LTS
77+
- "18"
7278
- "16"
7379
- "14"
7480
steps:
@@ -92,15 +98,16 @@ jobs:
9298
strategy:
9399
fail-fast: false
94100
matrix:
95-
os:
101+
os:
96102
- ubuntu-latest
97103
- windows-latest
98-
- macos-13 # macos-latest has issues with node14
104+
- macos-latest
99105
node-version:
100106
# action based on https://github.com/actions/node-versions/releases
101107
# see also: https://nodejs.org/en/about/releases/
102-
- "20" # Current
103-
- "18" # Active LTS
108+
- "22" # Current
109+
- "20" # Active LTS
110+
- "18"
104111
pnpm-version: [ "latest" ]
105112
include:
106113
- os: "ubuntu-latest"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ on:
3030

3131
env:
3232
# https://nodejs.dev/en/about/releases/
33-
NODE_ACTIVE_LTS: "18"
33+
NODE_ACTIVE_LTS: "20"
3434

3535
jobs:
3636
bump:

0 commit comments

Comments
 (0)