Skip to content

Commit 99b9a2f

Browse files
authored
Bump NodeJs 18 LTS (#803)
This PR makes the following changes: - Bump NodeJS to 18 LTS - Bump packages Signed-off-by: georgi-l95 <[email protected]>
1 parent 5ed708b commit 99b9a2f

File tree

14 files changed

+6570
-3125
lines changed

14 files changed

+6570
-3125
lines changed

.github/workflows/acceptance-workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
contents: write
1616
steps:
1717
- name: Setup node
18-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v3
1919
with:
20-
node-version: 16
20+
node-version: 18
2121

2222
- name: Checkout repo
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424

2525
- name: Install packages
2626
run: npm ci

.github/workflows/dapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ jobs:
5757
with:
5858
check_name: Dapp Test Report
5959
report_paths: "**/*.xml"
60-
detailed_summary: true
60+
detailed_summary: true

.github/workflows/dev-tool-workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
contents: write
1818
steps:
1919
- name: Setup node
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v3
2121
with:
22-
node-version: 16
22+
node-version: 18
2323

2424
- name: Checkout repo
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626

2727
- name: Install packages
2828
run: npm ci

.github/workflows/postman.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
contents: write
1616
steps:
1717
- name: Setup node
18-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v3
1919
with:
20-
node-version: 16
20+
node-version: 18
2121

2222
- name: Checkout repo
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424

2525
- name: Install packages
2626
run: npm ci

.github/workflows/subgraph.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
working-directory: ./tools/subgraph-example/
1818
steps:
1919
- name: Setup node
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v3
2121
with:
22-
node-version: 16
22+
node-version: 18
2323

2424
- name: Checkout repo
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626

2727
- name: Install dependencies
2828
run: npm ci

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- name: Use Node.js TLS 16.x
20-
uses: actions/setup-node@v1
19+
- name: Use Node.js TLS 18
20+
uses: actions/setup-node@v3
2121
with:
22-
node-version: 16.x
22+
node-version: 18
2323

2424
- name: Checkout repository
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626

2727
- name: Install dependencies
2828
run: npm ci

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16-alpine
1+
FROM node:18-alpine
22
RUN apk update && apk add g++ make py3-pip
33

44
# Setup

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ the [JSON RPC Specification](https://playground.open-rpc.org/?schemaUrl=https://
2323

2424
You must have installed
2525

26-
- [node (version 16)](https://nodejs.org/en/about/)
26+
- [node (version 18)](https://nodejs.org/en/about/)
2727
- [npm](https://www.npmjs.com/)
2828
- [pnpm](https://pnpm.io/)
2929
- [Docker](https://docs.docker.com/engine/reference/commandline/docker/)
@@ -54,7 +54,8 @@ newman run packages/server/tests/postman.json --env-var baseUrl=http://localhost
5454
```
5555

5656
To enable Postman test to run via helm deployment add
57-
```
57+
58+
````
5859
test:
5960
enabled: true
6061
schedule: '@daily' #How often to run the Postman test
@@ -93,7 +94,7 @@ GAS_PRICE_TINY_BAR_BUFFER = 10000000000
9394
MIRROR_NODE_RETRIES = 3
9495
MIRROR_NODE_RETRY_DELAY = 500
9596
MIRROR_NODE_LIMIT_PARAM = 100
96-
```
97+
````
9798

9899
Note: Read more about `DEV_MODE` [here](docs/dev-mode.md)
99100
The following table highlights some initial configuration values to consider

dapp-example/package-lock.json

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

package-lock.json

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

0 commit comments

Comments
 (0)