Skip to content

Commit 48ef42a

Browse files
authored
Update supported Node versions (#1199)
2 parents 6cea3ae + cc4344a commit 48ef42a

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
- ubuntu-22.04
1414
- windows-latest
1515
- macos-latest
16+
node_version:
17+
- 20
18+
- 24
1619
fail-fast: false # run tests on other operating systems even if one fails
1720

1821
runs-on: ${{ matrix.operating_system }}
@@ -24,7 +27,7 @@ jobs:
2427
- uses: ankane/setup-mongodb@v1
2528
- uses: actions/setup-node@v4
2629
with:
27-
node-version: 20
30+
node-version: ${{ matrix.node_version }}
2831
- run: npm ci
2932
- name: Run tests (Linux)
3033
if: ${{ runner.os == 'Linux' }}
@@ -40,6 +43,9 @@ jobs:
4043
- ubuntu-22.04 # Using Ubuntu 22.04 due to AppArmor restrictions in newer versions (23.10+) that interfere with Puppeteer's sandbox functionality. See https://pptr.dev/troubleshooting#issues-with-apparmor-on-ubuntu
4144
- windows-latest
4245
- macos-latest
46+
node_version:
47+
- 20
48+
- 24
4349
fail-fast: false # run tests on other operating systems even if one fails
4450

4551
runs-on: ${{ matrix.operating_system }}
@@ -54,7 +60,7 @@ jobs:
5460
path: ./demo-declarations
5561
- uses: actions/setup-node@v4
5662
with:
57-
node-version: 20
63+
node-version: ${{ matrix.node_version }}
5864
- run: cd ./demo-declarations && npm install
5965
- run: npm ci
6066
- run: ./node_modules/.bin/cross-env NODE_ENV=ci npm run declarations:lint
@@ -67,6 +73,9 @@ jobs:
6773
- ubuntu-22.04
6874
- windows-latest
6975
- macos-latest
76+
node_version:
77+
- 20
78+
- 24
7079
fail-fast: false
7180

7281
runs-on: ${{ matrix.operating_system }}
@@ -81,7 +90,7 @@ jobs:
8190
path: ./demo-declarations
8291
- uses: actions/setup-node@v4
8392
with:
84-
node-version: 20
93+
node-version: ${{ matrix.node_version }}
8594
- run: cd ./demo-declarations && npm install
8695
- run: npm ci
8796
- run: ./node_modules/.bin/cross-env NODE_ENV=ci npm run metadata:validate

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## Unreleased [patch]
6+
7+
> Development of this release was supported by the [French Ministry for Foreign Affairs](https://www.diplomatie.gouv.fr/fr/politique-etrangere-de-la-france/diplomatie-numerique/) through its ministerial [State Startups incubator](https://beta.gouv.fr/startups/open-terms-archive.html) under the aegis of the Ambassador for Digital Affairs.
8+
9+
### Fixed
10+
11+
- Update Node compatibility metadata; actual compatibility was added in v7.2.1
12+
513
## 9.1.1 - 2025-10-07
614

715
_Full changeset and discussions: [#1198](https://github.com/OpenTermsArchive/engine/pull/1198)._

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@
114114
"@opentermsarchive/terms-types": "^2.1.0"
115115
},
116116
"engines": {
117-
"node": ">=20.0.0 < 23.0.0"
117+
"node": ">=20 <=24"
118118
}
119119
}

0 commit comments

Comments
 (0)