Skip to content

Commit

Permalink
update node to 18 (subquery#1719)
Browse files Browse the repository at this point in the history
* update node to 18

* update node to 18
  • Loading branch information
jiqiang90 authored May 17, 2023
1 parent 11bce7d commit fe7bd9e
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18

- run: yarn install

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
- run: yarn
- name: build
run: yarn build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18

- uses: marceloprado/has-changed-path@v1
id: changed-types
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18

#Identify changes
- uses: marceloprado/has-changed-path@v1
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
initContainers:
- name: prepare
imagePullPolicy: IfNotPresent
image: node:14-alpine
image: node:18-alpine
command:
- sh
- -c
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
initContainers:
- name: prepare
imagePullPolicy: IfNotPresent
image: node:14-alpine
image: node:18-alpine
command:
- sh
- -c
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@babel/preset-env": "^7.16.11",
"@octokit/request": "^5.6.3",
"@types/cron-converter": "^1",
"@types/node": "^14.18.10",
"@types/node": "^18.16.10",
"@types/node-fetch": "2.6.2",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"@oclif/dev-cli": "^1.26.10",
"@types/node": "^14.18.10",
"@types/node": "^18.16.10",
"@types/rimraf": "^3.0.2",
"@types/websocket": "^1",
"eslint": "^8.8.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# production images
FROM node:16 as builder
FROM node:18 as builder
ARG RELEASE_VERSION
ENTRYPOINT ["subql-node"]
RUN npm i -g --unsafe-perm @subql/node@${RELEASE_VERSION}

FROM node:16-alpine
FROM node:18-alpine
ENV TZ utc

RUN apk add --no-cache tini git curl
Expand Down
4 changes: 2 additions & 2 deletions packages/query/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# production images
FROM node:16 as builder
FROM node:18 as builder
ARG RELEASE_VERSION
RUN npm i -g --unsafe-perm @subql/query@${RELEASE_VERSION}

FROM node:16-alpine
FROM node:18-alpine
ENV TZ utc

RUN apk add --no-cache tini
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3958,7 +3958,7 @@ __metadata:
"@typechain/ethers-v5": 10.2.0
"@types/ejs": ^3.1.0
"@types/inquirer": ^8.2.0
"@types/node": ^14.18.10
"@types/node": ^18.16.10
"@types/rimraf": ^3.0.2
"@types/websocket": ^1
algosdk: ^1.19.0
Expand Down Expand Up @@ -4968,20 +4968,20 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^14.18.10":
version: 14.18.16
resolution: "@types/node@npm:14.18.16"
checksum: 1999799309dc8620a2adf9a5d5e48416af87321bae4c950b4aa8018fcef2c3b6c1fcf98c39eae06f6492c03a643a5a44e2bb3750cd2574d9cf7eac33bac50e24
languageName: node
linkType: hard

"@types/node@npm:^15.6.1":
version: 15.14.9
resolution: "@types/node@npm:15.14.9"
checksum: 49f7f0522a3af4b8389aee660e88426490cd54b86356672a1fedb49919a8797c00d090ec2dcc4a5df34edc2099d57fc2203d796c4e7fbd382f2022ccd789eee7
languageName: node
linkType: hard

"@types/node@npm:^18.16.10":
version: 18.16.10
resolution: "@types/node@npm:18.16.10"
checksum: 1db35543ae98d4a98731037a11a9478480d1260ff3778da70b9a137a3023666d20bab1573b584c401058f76c0d5f7dfbbc157b70a059452e086c8da5639cc653
languageName: node
linkType: hard

"@types/normalize-package-data@npm:^2.4.0":
version: 2.4.1
resolution: "@types/normalize-package-data@npm:2.4.1"
Expand Down Expand Up @@ -16675,7 +16675,7 @@ __metadata:
"@babel/preset-env": ^7.16.11
"@octokit/request": ^5.6.3
"@types/cron-converter": ^1
"@types/node": ^14.18.10
"@types/node": ^18.16.10
"@types/node-fetch": 2.6.2
"@typescript-eslint/eslint-plugin": ^5.10.2
"@typescript-eslint/parser": ^5.10.2
Expand Down

0 comments on commit fe7bd9e

Please sign in to comment.