Skip to content

Commit 78108c5

Browse files
chore(dapp): upgrade to node 20 (#39)
1 parent e4c7e36 commit 78108c5

File tree

7 files changed

+9518
-4378
lines changed

7 files changed

+9518
-4378
lines changed

.drone.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ trigger:
172172

173173
steps:
174174
- name: install
175-
image: node:14-alpine3.11
175+
image: node:20-alpine3.22
176176
pull: always
177177
commands:
178178
- cd dapp
@@ -181,7 +181,7 @@ steps:
181181
- npm ci
182182

183183
- name: format
184-
image: node:14-alpine3.11
184+
image: node:20-alpine3.22
185185
commands:
186186
- cd dapp
187187
- npm run check-format
@@ -193,7 +193,7 @@ steps:
193193
- npm run lint
194194

195195
- name: test
196-
image: node:14-alpine3.11
196+
image: node:20-alpine3.22
197197
environment:
198198
TELEGRAM_BOT_TOKEN:
199199
from_secret: telegram-bot-token-dev
@@ -236,7 +236,7 @@ trigger:
236236

237237
steps:
238238
- name: install
239-
image: node:14-alpine3.11
239+
image: node:20-alpine3.22
240240
pull: always
241241
commands:
242242
- cd dapp
@@ -245,7 +245,7 @@ steps:
245245
- npm ci
246246

247247
- name: format
248-
image: node:14-alpine3.11
248+
image: node:20-alpine3.22
249249
commands:
250250
- cd dapp
251251
- npm run check-format
@@ -257,7 +257,7 @@ steps:
257257
- npm run lint
258258

259259
- name: test
260-
image: node:14-alpine3.11
260+
image: node:20-alpine3.22
261261
environment:
262262
TELEGRAM_BOT_TOKEN:
263263
from_secret: telegram-bot-token-prod

.github/workflows/dapp-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version: 14
25+
node-version: 20
2626
cache: 'npm'
2727
cache-dependency-path: dapp/package-lock.json
2828

@@ -45,7 +45,7 @@ jobs:
4545

4646
- uses: actions/setup-node@v4
4747
with:
48-
node-version: 14
48+
node-version: 20
4949
cache: 'npm'
5050
cache-dependency-path: dapp/package-lock.json
5151

dapp/.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14
1+
20

dapp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14-alpine3.11
1+
FROM node:20-alpine3.22
22
WORKDIR /app
33
COPY package*.json ./
44
RUN npm ci --production

0 commit comments

Comments
 (0)