Skip to content

Commit 5aba493

Browse files
committed
feat: Update Node.js to version 18 (lts)
1 parent 878d1ec commit 5aba493

File tree

8 files changed

+2889
-2613
lines changed

8 files changed

+2889
-2613
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
run: git fetch --prune --unshallow
1919

2020
- name: Setup node
21-
uses: actions/setup-node@v2
21+
uses: actions/setup-node@v3
2222
with:
23-
node-version: 14
23+
node-version: 18
2424
registry-url: 'https://registry.npmjs.org'
2525
cache: yarn
2626

@@ -52,9 +52,9 @@ jobs:
5252
if: github.ref == 'refs/heads/master'
5353

5454
- name: Create .npmrc for github registry auth
55-
uses: actions/setup-node@v2
55+
uses: actions/setup-node@v3
5656
with:
57-
node-version: 14
57+
node-version: 18
5858
registry-url: 'https://npm.pkg.github.com'
5959
cache: yarn
6060
if: github.ref == 'refs/heads/master'

docker-images/nightwatch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14
1+
FROM node:18
22

33
WORKDIR /app
44

modules/codecept/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@
1919
"dependencies": {
2020
"@codeceptjs/ui": "^0.4.6",
2121
"@csssr/e2e-tools": "^1.6.10",
22-
"@types/node": "^14.14.41",
22+
"@types/node": "^18.16.18",
2323
"async-retry": "^1.3.3",
24+
"canvas": "^2.11.2",
2425
"codeceptjs": "^3.3.0",
25-
"codeceptjs-chai": "2.3.2",
26-
"codeceptjs-resemblehelper": "1.9.5",
26+
"codeceptjs-chai": "^2.3.2",
27+
"codeceptjs-resemblehelper": "^1.9.7",
2728
"faker": "^5.5.3",
2829
"js-yaml": "^4.1.0",
2930
"lodash": "^4.17.21",

modules/nightwatch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@csssr/nightwatch-local-file-upload": "0.3.4",
2525
"@types/mocha": "^8.2.2",
2626
"@types/nightwatch": "^1.3.3",
27-
"@types/node": "^14.14.41",
27+
"@types/node": "^18.16.18",
2828
"axios": "^0.26.0",
2929
"chalk": "^4.1.1",
3030
"chromedriver": "*",

modules/tools/templates/.github/workflows/e2e-lint.yaml.autogenerated.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v2
13-
- uses: actions/setup-node@v1
13+
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 14
15+
node-version: 18
1616
cache: yarn
1717

1818
- name: Установка зависимостей

modules/tools/templates/.github/workflows/update-e2e-tools.yaml.autogenerated.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 14
17+
node-version: 18
1818
cache: yarn
1919

2020
- name: Upgrade e2e tests dependencies

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@
1111
],
1212
"devDependencies": {
1313
"@types/jest": "^26.0.23",
14-
"@types/node": "^14.14.41",
14+
"@types/node": "^18.16.18",
1515
"core-js": "^3.11.0",
1616
"jest": "^26.6.3",
1717
"lerna": "^4.0.0",
1818
"lodash": "^4.17.21",
1919
"prettier": "2.2.1"
20+
},
21+
"resolutions": {
22+
"canvas": "^2.11.2"
2023
}
2124
}

0 commit comments

Comments
 (0)