Skip to content

feat: publish package to registry (DCP-1814) 🎉 #1

feat: publish package to registry (DCP-1814) 🎉

feat: publish package to registry (DCP-1814) 🎉 #1

Triggered via pull request April 29, 2024 01:49
Status Failure
Total duration 30s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

57 errors and 1 warning
__tests__/index.spec.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
.eslintrc.cjs#L1
There are issues with this file's formatting, please run Prettier to fix the errors
.eslintrc.cjs#L8
Replace `"@typescript-eslint/parser"` with `'@typescript-eslint/parser'` (prettier/prettier)
constants.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
.eslintrc.cjs#L11
Replace `"module"` with `'module'` (prettier/prettier)
index.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
.eslintrc.cjs#L12
Replace `"es2022"` with `'es2022'` (prettier/prettier)
jest.config.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
.eslintrc.cjs#L20
Replace `"@typescript-eslint"` with `'@typescript-eslint'` (prettier/prettier)
prettier.config.cjs#L1
There are issues with this file's formatting, please run Prettier to fix the errors
.eslintrc.cjs#L21
Replace `"jsdoc"` with `'jsdoc'` (prettier/prettier)
.eslintrc.cjs#L22
Replace `"security"` with `'security'` (prettier/prettier)
.eslintrc.cjs#L23
Replace `"security-node"` with `'security-node'` (prettier/prettier)
.eslintrc.cjs#L24
Replace `"anti-trojan-source"` with `'anti-trojan-source'` (prettier/prettier)
.eslintrc.cjs#L25
Replace `"prettier"` with `'prettier'` (prettier/prettier)
.eslintrc.cjs#L28
Replace `"plugin:@typescript-eslint/eslint-recommended"` with `'plugin:@typescript-eslint/eslint-recommended'` (prettier/prettier)
.eslintrc.cjs#L29
Replace `"plugin:jsdoc/recommended"` with `'plugin:jsdoc/recommended'` (prettier/prettier)
.eslintrc.cjs#L30
Replace `"plugin:security/recommended"` with `'plugin:security/recommended'` (prettier/prettier)
.eslintrc.cjs#L31
Replace `"plugin:security-node/recommended"` with `'plugin:security-node/recommended'` (prettier/prettier)
.eslintrc.cjs#L32
Replace `"plugin:anti-trojan-source/recommended"` with `'plugin:anti-trojan-source/recommended'` (prettier/prettier)
.eslintrc.cjs#L33
Replace `"plugin:prettier/recommended"` with `'plugin:prettier/recommended'` (prettier/prettier)
.eslintrc.cjs#L34
Replace `"prettier"` with `'prettier'` (prettier/prettier)
.eslintrc.cjs#L38
Replace `"no-console":·process.env.NODE_ENV·===·"production"·?·"error"·:·"off"` with `'no-console':·process.env.NODE_ENV·===·'production'·?·'error'·:·'off'` (prettier/prettier)
.eslintrc.cjs#L39
Replace `"no-debugger":·process.env.NODE_ENV·===·"production"·?·"error"·:·"off"` with `'no-debugger':·process.env.NODE_ENV·===·'production'·?·'error'·:·'off'` (prettier/prettier)
__tests__/index.spec.ts#L1
Replace `"../index"` with `'../index'` (prettier/prettier)
__tests__/index.spec.ts#L2
Replace `"./sampleResponse.json"` with `'./sampleResponse.json'` (prettier/prettier)
__tests__/index.spec.ts#L8
Replace `"Accept-Language"` with `'Accept-Language'` (prettier/prettier)
__tests__/index.spec.ts#L26
Replace `"returns·charset·of·website"` with `'returns·charset·of·website'` (prettier/prettier)
__tests__/index.spec.ts#L39
Replace `"Accept-Language"` with `'Accept-Language'` (prettier/prettier)
__tests__/index.spec.ts#L59
Replace `"Accept-Language"` with `'Accept-Language'` (prettier/prettier)
__tests__/index.spec.ts#L159
Replace `"Accept-Language"` with `'Accept-Language'` (prettier/prettier)
__tests__/index.spec.ts#L178
Replace `"should·timeout·(default·3s)·with·infinite·loading·link"` with `'should·timeout·(default·3s)·with·infinite·loading·link'` (prettier/prettier)
__tests__/index.spec.ts#L184
Replace `"Request·timeout"` with `'Request·timeout'` (prettier/prettier)
__tests__/index.spec.ts#L188
Replace `"should·timeout·(custom·1s)·with·infinite·loading·link"` with `'should·timeout·(custom·1s)·with·infinite·loading·link'` (prettier/prettier)
__tests__/index.spec.ts#L197
Replace `"Request·timeout"` with `'Request·timeout'` (prettier/prettier)
__tests__/index.spec.ts#L237
Replace `"should·handle·video·tags·without·type·or·secure_url·tags"` with `'should·handle·video·tags·without·type·or·secure_url·tags'` (prettier/prettier)
__tests__/index.spec.ts#L279
Replace `"fetch·my·repo"` with `'fetch·my·repo'` (prettier/prettier)
__tests__/index.spec.ts#L280
Replace `"https://www.pravda.com.ua"` with `'https://www.pravda.com.ua'` (prettier/prettier)
constants.ts#L3
Replace `"^"` with `'^'` (prettier/prettier)
constants.ts#L4
Replace `"(?:(?:10|127)(?:\\.\\d{1,3}){3})"` with `'(?:(?:10|127)(?:\\.\\d{1,3}){3})'` (prettier/prettier)
constants.ts#L5
Replace `"|"` with `'|'` (prettier/prettier)
constants.ts#L6
Replace `"(?:(?:169\\.254|192\\.168|192\\.0)(?:\\.\\d{1,3}){2})"` with `'(?:(?:169\\.254|192\\.168|192\\.0)(?:\\.\\d{1,3}){2})'` (prettier/prettier)
constants.ts#L7
Replace `"|"` with `'|'` (prettier/prettier)
constants.ts#L8
Replace `"(?:172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})"` with `'(?:172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})'` (prettier/prettier)
constants.ts#L9
Replace `"$"` with `'$'` (prettier/prettier)
constants.ts#L10
Replace `"i"` with `'i'` (prettier/prettier)
constants.ts#L13
Replace `"image/.*",·"i"` with `'image/.*',·'i'` (prettier/prettier)
constants.ts#L15
Replace `"audio/.*",·"i"` with `'audio/.*',·'i'` (prettier/prettier)
constants.ts#L17
Replace `"video/.*",·"i"` with `'video/.*',·'i'` (prettier/prettier)
constants.ts#L19
Replace `"text/.*",·"i"` with `'text/.*',·'i'` (prettier/prettier)
constants.ts#L21
Replace `"application/.*",·"i"` with `'application/.*',·'i'` (prettier/prettier)
dist/__tests__/index.spec.js#L1
Replace `"../index"` with `'../index'` (prettier/prettier)
dist/__tests__/index.spec.js#L2
Replace `"./sampleResponse.json"` with `'./sampleResponse.json'` (prettier/prettier)
dist/__tests__/index.spec.js#L4
Replace `····` with `··` (prettier/prettier)
dist/__tests__/index.spec.js#L5
Replace `····const·linkInfo·=·await·getLinkPreview(`https://www.youtube.com/watch?v=wuClZjOdT30`,·{·headers:·{·"Accept-Language":·`en-US`·}·});` with `const·linkInfo·=·await·getLinkPreview(⏎······`https://www.youtube.com/watch?v=wuClZjOdT30`,⏎······{·headers:·{·'Accept-Language':·`en-US`·}·},` (prettier/prettier)
dist/__tests__/index.spec.js#L6
Insert `);⏎` (prettier/prettier)
ci
Linting failures detected. See check runs with annotations for details.
ci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: wearerequired/lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.