Skip to content

Commit

Permalink
build(js): update required node engine to 18
Browse files Browse the repository at this point in the history
Signed-off-by: Ariel Gentile <[email protected]>
  • Loading branch information
genaris committed Aug 12, 2023
1 parent 25bf545 commit 44b7a58
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Node.JS 16.x
- name: Set up Node.JS 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x

- name: Fetch library artifacts
uses: actions/download-artifact@v3
Expand Down
5 changes: 4 additions & 1 deletion wrappers/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@
"tsconfig-paths": "4.1.0",
"typescript": "4.5.5"
},
"resolutions": {
"ref-napi": "npm:@2060.io/ref-napi"
},
"engines": {
"node": ">= 12"
"node": ">= 18"
}
}
8 changes: 4 additions & 4 deletions wrappers/javascript/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8929,10 +8929,10 @@ [email protected]:
array-index "^1.0.0"
debug "^3.1.0"

[email protected], "ref-napi@^2.0.1 || ^3.0.2":
version "3.0.3"
resolved "https://registry.yarnpkg.com/ref-napi/-/ref-napi-3.0.3.tgz#e259bfc2bbafb3e169e8cd9ba49037dd00396b22"
integrity sha512-LiMq/XDGcgodTYOMppikEtJelWsKQERbLQsYm0IOOnzhwE9xYZC7x8txNnFC9wJNOkPferQI4vD4ZkC0mDyrOA==
[email protected], "ref-napi@^2.0.1 || ^3.0.2", "ref-napi@npm:@2060.io/ref-napi":
version "3.0.4"
resolved "https://registry.yarnpkg.com/@2060.io/ref-napi/-/ref-napi-3.0.4.tgz#6a78093b36e8f4ffeb750f706433869382e73eb1"
integrity sha512-Aqf699E+DKs2xANx8bSkuzXyG9gcZ2iFkAk1kUTA8KbV5BSPQtIcBJexzohSRi9QWDhP4X54NLm7xwGA0UNCdQ==
dependencies:
debug "^4.1.1"
get-symbol-from-current-process-h "^1.0.2"
Expand Down

0 comments on commit 44b7a58

Please sign in to comment.