Skip to content

Commit 5a7d04e

Browse files
committed
feat!: Require node >= 22 for jsoo 6
1 parent bad98c6 commit 5a7d04e

File tree

12 files changed

+58
-51
lines changed

12 files changed

+58
-51
lines changed

.github/workflows/esy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup node.js
1818
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1919
with:
20-
node-version: "16"
20+
node-version: "22"
2121
check-latest: true
2222

2323
# Install `esy` to build the project

.github/workflows/js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup node.js
1414
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1515
with:
16-
node-version: "16"
16+
node-version: "22"
1717
check-latest: true
1818

1919
- name: "Set up emsdk"

.github/workflows/opam.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ jobs:
1515
ocaml-compiler: [4.13.1, 4.14.1, 5.3.0]
1616

1717
steps:
18+
# Js_of_ocaml fails below node 22: https://github.com/ocsigen/js_of_ocaml/issues/1845
19+
- name: Setup node.js
20+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
21+
with:
22+
node-version: "22"
23+
check-latest: true
24+
1825
- name: Checkout project
1926
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2027
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- name: Setup NodeJS
103103
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
104104
with:
105-
node-version: "16"
105+
node-version: "22"
106106
registry-url: "https://registry.npmjs.org"
107107

108108
- name: Publish to npm

esy.lock/index.json

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/base.v0.17.1/opam

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

esy.lock/opam/js_of_ocaml-compiler.5.9.1/opam renamed to esy.lock/opam/js_of_ocaml-compiler.6.0.1/opam

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/ocaml_intrinsics_kernel.v0.17.1/opam

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

esy.lock/opam/sexplib0.v0.17.0/opam

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

esy.lock/opam/stdio.v0.17.0/opam

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

libbinaryen.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ depends: [
1515
"conf-cmake" {build}
1616
"dune" {>= "3.0.0"}
1717
"dune-configurator" {>= "3.0.0"}
18-
"js_of_ocaml-compiler" {with-test & >= "4.1.0" < "6.0.0"}
18+
"js_of_ocaml-compiler" {with-test & >= "4.1.0" < "7.0.0"}
1919
"ocaml" {>= "4.13"}
2020
]
2121
depexts: [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@opam/dune-configurator": ">= 3.0.0"
1212
},
1313
"devDependencies": {
14-
"@opam/js_of_ocaml-compiler": ">= 4.1.0 < 6.0.0",
14+
"@opam/js_of_ocaml-compiler": ">= 4.1.0 < 7.0.0",
1515
"@opam/ocamlformat": "0.27.0",
1616
"@opam/ocaml-lsp-server": "> 1.9.1 < 2.0.0"
1717
},

0 commit comments

Comments
 (0)