Skip to content

Commit

Permalink
feat: bump node version (#2647)
Browse files Browse the repository at this point in the history
* docs: add note containing what we support

Signed-off-by: Ivaylo Nikolov <[email protected]>

* ci: bump node version

Signed-off-by: Ivaylo Nikolov <[email protected]>

---------

Signed-off-by: Ivaylo Nikolov <[email protected]>
  • Loading branch information
ivaylonikolov7 authored Dec 17, 2024
1 parent c66beb8 commit 979db6d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: client-sdk-linux-medium
strategy:
matrix:
node: [ "16", "18" ]
node: [ "20", "22" ]

steps:
- name: Harden Runner
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
runs-on: client-sdk-linux-large
strategy:
matrix:
node: [ "16" ]
node: [ "20" ]

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/common_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: client-sdk-linux-large
strategy:
matrix:
node: [ "16", "18" ]
node: [ "20", "22" ]

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 18
node-version: 20

- name: Install PNPM
uses: step-security/action-setup@303e8a1dabc4295b9b4ca0f4198fd42f7861406e # v4.0.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 18
node-version: 20

- name: Compile Code
run: |
Expand Down Expand Up @@ -291,7 +291,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 18
node-version: 20
cache: pnpm

- name: Install NPM Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/react_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: "16"
node-version: "20"

- name: Install PNPM
uses: step-security/action-setup@303e8a1dabc4295b9b4ca0f4198fd42f7861406e # v4.0.0
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: "16"
node-version: "20"

- name: Install PNPM
uses: step-security/action-setup@303e8a1dabc4295b9b4ca0f4198fd42f7861406e # v4.0.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ $ pnpm add @hashgraph/sdk
### Prerequisites

1. [Taskfile](https://taskfile.dev/) tool installation
2. **Node.js**: It is **recommended** to use Node.js **v20 or higher** for best performance and compatibility. The package may also work with **Node.js v16**, but this version has **not been officially tested**.

```
# with npm
Expand Down

0 comments on commit 979db6d

Please sign in to comment.