Skip to content

Commit 1e8c08c

Browse files
authored
updating node (#1007)
* updating code and dependencies to work with node 18 * updating documentation and other items from node 16 to 18
1 parent 4382b5b commit 1e8c08c

File tree

8 files changed

+389
-207
lines changed

8 files changed

+389
-207
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ${{ matrix.os }}
2424
strategy:
2525
matrix:
26-
node-version: [16.x]
26+
node-version: [18.x]
2727
os: [ubuntu-22.04]
2828

2929
steps:
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ${{ matrix.os }}
4848
strategy:
4949
matrix:
50-
node-version: [16.x]
50+
node-version: [18.x]
5151
os: [ubuntu-22.04]
5252

5353
steps:
@@ -72,7 +72,7 @@ jobs:
7272

7373
strategy:
7474
matrix:
75-
node-version: [16.x]
75+
node-version: [18.x]
7676
os: [ubuntu-22.04]
7777

7878
steps:
@@ -111,7 +111,7 @@ jobs:
111111

112112
strategy:
113113
matrix:
114-
node-version: [16.x]
114+
node-version: [18.x]
115115
os: [ubuntu-22.04]
116116

117117
steps:
@@ -149,7 +149,7 @@ jobs:
149149
- name: Install Node.js, NPM and Yarn
150150
uses: actions/[email protected]
151151
with:
152-
node-version: 16.x
152+
node-version: 18.x
153153
cache: 'npm'
154154

155155
- name: Prepare Linux build environment
@@ -366,7 +366,7 @@ jobs:
366366
runs-on: ubuntu-22.04
367367
strategy:
368368
matrix:
369-
node-version: [16.x]
369+
node-version: [18.x]
370370

371371
# CHIP container required because clang-format version needs to match
372372
container:

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ ZAP is a generic templating engine. Examples are provided for how to generate ar
2020

2121
## Quick setup
2222

23+
### Node Version
24+
25+
- Node LTS: 18.16.0
26+
2327
### Prebuilt binaries
2428

2529
On the [release page](https://github.com/project-chip/zap/releases), there are two flavors of prebuilt binaries.

docs/development-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This section lists instructions for various things you might need to do in this repo.
44

5-
This is a node.js application, so you need node environment installed. The best way is to simply download latest install of [node](https://nodejs.org/en/download/) and you will get node and npm. If you have an older version of node installed on your workstation, it may give you trouble, particularly if it's very old. So make sure you have latest node v16.x version, with the npm that comes with it available. Run `node --version` to check what version is picked up. v14.x mostly works as well, there is some success with v18.x, but at this point v16.x is recommended.
5+
This is a node.js application, so you need node environment installed. The best way is to simply download latest install of [node](https://nodejs.org/en/download/) and you will get node and npm. If you have an older version of node installed on your workstation, it may give you trouble, particularly if it's very old. So make sure you have latest node v16.x version, with the npm that comes with it available. Run `node --version` to check what version is picked up. v18.x is recommended.
66

77
Once you have a desired version of node, you can run:
88

docs/zap-schema.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)