Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 443bdf9

Browse files
author
Pavel Ageev
committed
feat: bump dependencies
fix: correct browser args fix: tests adaptation fix: lint adaptation
1 parent 6ad458f commit 443bdf9

File tree

21 files changed

+3114
-2322
lines changed

21 files changed

+3114
-2322
lines changed

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup node
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: 21.7
18+
node-version: 23.4
1919

2020
- name: npm install
2121
run: npm install
@@ -34,7 +34,7 @@ jobs:
3434
3535
[ $code -eq 1 ] && echo 'Error: Check should succeed' && exit 1
3636
37-
grep 'success: true' check_report
37+
grep '"success":true' check_report
3838
3939
- name: test check should fail
4040
run: |
@@ -47,7 +47,7 @@ jobs:
4747
4848
[ $code -eq 0 ] && echo 'Error: Check should fail' && exit 1
4949
50-
grep 'success: false' check_report
50+
grep '"success":false' check_report
5151
grep "Element 'body' does not contain 'No Way'" check_report
5252
5353
- name: test check lighthouse
@@ -63,9 +63,8 @@ jobs:
6363
set -e
6464
cat check_report
6565
[ $code -eq 1 ] && echo 'Error: Check should succeed' && exit 1
66-
grep 'success: true' check_report
67-
grep "labels: { name: 'first-contentful-paint', id: 'lh-one' }" \
68-
check_report
66+
grep '"success":true' check_report
67+
grep '{"labels":{"id":"lh-one","name":"first-contentful-paint"}' check_report
6968
7069
- name: 'lint configs'
7170
run: npm run prettier

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
override APPLICATION_NAME=purr
2-
override NODE_VERSION=21.7
2+
override NODE_VERSION=23.4
33

44
DOCKER_IMAGE?=ghcr.io/semrush/purr
55
DOCKER_TAG?=latest

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG NODE_VERSION=21.7
1+
ARG NODE_VERSION=23.4
22

33
FROM node:${NODE_VERSION} AS vendor
44

eslint.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
ignores: ["src/cli.js"],
3+
files: ["**/*.js", "**/*.jsx"]
4+
};

0 commit comments

Comments
 (0)