Skip to content

Commit 9943d3c

Browse files
committed
.github/workflows/hext-releases: add node v22
1 parent a84041a commit 9943d3c

6 files changed

Lines changed: 16 additions & 8 deletions

File tree

.github/actions/test-hext-npm/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ runs:
1919
uses: ./.github/actions/test-hext-npm-version
2020
with:
2121
version: ${{ env.HEXT_NODE_VERSION3 }}
22+
- name: Test Node v${{ env.HEXT_NODE_VERSION4 }}
23+
uses: ./.github/actions/test-hext-npm-version
24+
with:
25+
version: ${{ env.HEXT_NODE_VERSION4 }}
2226

.github/workflows/hext-releases.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ env:
1515
# NOTE: HEXT_PYTHON_VERSION{4,5} are currently not built/tested for macos_arm_releases
1616
HEXT_PYTHON_VERSION4: "3.9"
1717
HEXT_PYTHON_VERSION5: "3.8"
18-
HEXT_NODE_VERSION1: "21"
19-
HEXT_NODE_VERSION2: "20"
20-
HEXT_NODE_VERSION3: "18"
21-
HEXT_NODE_API_VERSION1: "21.0.0"
22-
HEXT_NODE_API_VERSION2: "20.0.0"
23-
HEXT_NODE_API_VERSION3: "18.0.0"
18+
HEXT_NODE_VERSION1: "22"
19+
HEXT_NODE_VERSION2: "21"
20+
HEXT_NODE_VERSION3: "20"
21+
HEXT_NODE_VERSION4: "18"
22+
HEXT_NODE_API_VERSION1: "22.0.0"
23+
HEXT_NODE_API_VERSION2: "21.0.0"
24+
HEXT_NODE_API_VERSION3: "20.0.0"
25+
HEXT_NODE_API_VERSION4: "18.0.0"
2426

2527

2628

scripts/github-actions/linux/build-hext-node-linux.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ npx prebuild \
7070
-t "$HEXT_NODE_API_VERSION1" \
7171
-t "$HEXT_NODE_API_VERSION2" \
7272
-t "$HEXT_NODE_API_VERSION3" \
73+
-t "$HEXT_NODE_API_VERSION4" \
7374
--strip --verbose \
7475
--backend cmake-js \
7576
-- \

scripts/github-actions/macos/build-hext-node-macos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ npx prebuild \
1717
-t "$HEXT_NODE_API_VERSION1" \
1818
-t "$HEXT_NODE_API_VERSION2" \
1919
-t "$HEXT_NODE_API_VERSION3" \
20+
-t "$HEXT_NODE_API_VERSION4" \
2021
--strip --verbose \
2122
--backend cmake-js \
2223
-- \

scripts/github-actions/npm/assets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Visit [Hext’s documentation](https://hext.thomastrapp.com/documentation) and i
3232
## Compatibility
3333

3434
This binary package is compatible with:
35-
* Node v18, v20, v21
35+
* Node v18, v20, v21, v22
3636
* Linux x86_64 (GLIBC ≥2.14, basically any distribution built after the year 2012)
3737
* macOS x86_64 (10.11 El Capitan or later)
3838
* macOS ARM64 (11.0 Big Sur or later)

scripts/github-actions/npm/assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"url": "https://thomastrapp.com"
1313
},
1414
"dependencies": {},
15-
"engines": { "node" : "^18 || ^20 || ^21" },
15+
"engines": { "node" : "^18 || ^20 || ^21 || ^22" },
1616
"os": ["darwin", "linux"],
1717
"cpu": ["x64", "arm64"],
1818
"scripts": {},

0 commit comments

Comments
 (0)