Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dependency]: Bump @typescript-eslint/parser from 7.5.0 to 8.2.0 in /website #377

[dependency]: Bump @typescript-eslint/parser in /website

b6ebb24
Select commit
Loading
Failed to load commit list.
Closed

[dependency]: Bump @typescript-eslint/parser from 7.5.0 to 8.2.0 in /website #377

[dependency]: Bump @typescript-eslint/parser in /website
b6ebb24
Select commit
Loading
Failed to load commit list.
Jenkins @ NEMProject / Jenkins CI - NEM Website failed Aug 24, 2024 in 3m 12s

CI pipeline/run lint: error in 'sh (scripts/ci/lint.sh)' step

CI pipeline / run lint / scripts/ci/lint.sh

Error in sh (scripts/ci/lint.sh) step, with arguments bash -c 'scripts/ci/lint.sh'.

script returned exit code 2
Build log
[2024-08-24T15:57:40.139Z] + bash -c scripts/ci/lint.sh
[2024-08-24T15:57:40.139Z] + npm run lint
[2024-08-24T15:57:40.395Z] 
[2024-08-24T15:57:40.395Z] > nem-website@0.1.0 lint
[2024-08-24T15:57:40.395Z] > eslint . --ext .ts,.tsx,.js,.jsx,.json --max-warnings 0 && stylelint "**/*.less"
[2024-08-24T15:57:40.395Z] 
[2024-08-24T15:57:41.763Z] 
[2024-08-24T15:57:41.763Z] Oops! Something went wrong! :(
[2024-08-24T15:57:41.763Z] 
[2024-08-24T15:57:41.763Z] ESLint: 8.57.0
[2024-08-24T15:57:41.763Z] 
[2024-08-24T15:57:41.763Z] Error: Cannot read config file: /home/ubuntu/jenkins/workspace/website/node_modules/eslint-config-prettier/@typescript-eslint.js
[2024-08-24T15:57:41.763Z] Error: "prettier/@typescript-eslint" has been merged into "prettier" in eslint-config-prettier 8.0.0. See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
[2024-08-24T15:57:41.763Z] Referenced from: /home/ubuntu/jenkins/workspace/website/.eslintrc.js
[2024-08-24T15:57:41.763Z]     at Object.<anonymous> (/home/ubuntu/jenkins/workspace/website/node_modules/eslint-config-prettier/@typescript-eslint.js:1:7)
[2024-08-24T15:57:41.763Z]     at Module._compile (node:internal/modules/cjs/loader:1358:14)
[2024-08-24T15:57:41.763Z]     at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
[2024-08-24T15:57:41.763Z]     at Module.load (node:internal/modules/cjs/loader:1208:32)
[2024-08-24T15:57:41.763Z]     at Module._load (node:internal/modules/cjs/loader:1024:12)
[2024-08-24T15:57:41.763Z]     at Module.require (node:internal/modules/cjs/loader:1233:19)
[2024-08-24T15:57:41.763Z]     at module.exports [as default] (/home/ubuntu/jenkins/workspace/website/node_modules/import-fresh/index.js:32:59)
[2024-08-24T15:57:41.763Z]     at loadJSConfigFile (/home/ubuntu/jenkins/workspace/website/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2583:47)
[2024-08-24T15:57:41.763Z]     at loadConfigFile (/home/ubuntu/jenkins/workspace/website/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2667:20)
[2024-08-24T15:57:41.763Z]     at ConfigArrayFactory._loadConfigData (/home/ubuntu/jenkins/workspace/website/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2984:42)

Details

  • Declarative: Checkout SCM (10 sec)
    • setup environment (2.3 sec)
    • CI pipeline (2 min 51 sec)
      • display environment (1.8 sec)
      • checkout (1 sec)
      • setup docker environment (5.2 sec)
      • verify conventional commit message (0.91 sec)
      • setup lint (1 min 9 sec)
      • run lint (3.4 sec)
        Error: script returned exit code 2
      • setup build (1 sec)
      • run build (0.89 sec)
      • setup tests (0.9 sec)
      • run tests (0.84 sec)
      • run tests (examples) (0.81 sec)
      • run tests (vectors) (0.84 sec)
      • code coverage (0.85 sec)
    • CD pipeline (2.7 sec)
      • publish RC (0.85 sec)
      • publish Release (0.85 sec)
    • Declarative: Post Actions (1 sec)