Skip to content

Commit 56ec567

Browse files
committed
Switch to NodeJS 22 for build
We build and publish our package from within GitHub actions. We now use the latest NodeJS version in our build environment.
1 parent 41b6e8c commit 56ec567

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
echo "tag=${tag}" >> $GITHUB_OUTPUT
3030
echo "version=${metadata_version}" >> $GITHUB_OUTPUT
3131
32-
- name: Setup Node 20
32+
- name: Setup Node 22
3333
uses: actions/setup-node@v4
3434
with:
35-
node-version: "20"
35+
node-version: "22"
3636
registry-url: 'https://registry.npmjs.org'
3737

3838
- name: Install dependencies

.github/workflows/test.yml

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

17-
- name: Setup Node 20
17+
- name: Setup Node 22
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: "20"
20+
node-version: "22"
2121

2222
- name: Install Dependencies
2323
run: npm ci

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Build package under Node 22 environment
13+
- Bump `@vitest/expect` dependency from `^2.0.1` to `^2.0.5`
14+
1015
## [4.0.0] - 2024-07-09
1116

1217
### Changed
@@ -35,7 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3540

3641
### Fixes
3742

38-
- Added `dist-types` to the rpm package again
43+
- Added `dist-types` to the npm package again
3944

4045
## [2.1.0] - 2024-05-09
4146

0 commit comments

Comments
 (0)