Skip to content

github CI

github CI #9

Triggered via push May 1, 2024 15:25
Status Failure
Total duration 1m 58s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 5 warnings
test/index.test.ts > highlits code: packages/rehype-color-chips/src/index.ts#L22
1:1-1:10: default.validateHTMLColor is not a function ❯ Object.code src/index.ts:22:14 ❯ ../rehype-code-hook/dist/index.js:114:39 ❯ overload ../../node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:311:12 ❯ node element<code>) (file:/home/runner/work/beoe/beoe/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:346:27 ❯ node element<p>) (file:/home/runner/work/beoe/beoe/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61 ❯ node root) (file:/home/runner/work/beoe/beoe/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61 ❯ visitParents ../../node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:304:31 ❯ Module.visit ../../node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:302:3 ❯ ../rehype-code-hook/dist/index.js:44:9 ❯ wrapped ../../node_modules/.pnpm/[email protected]/node_modules/trough/lib/index.js:160:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { ancestors: undefined, column: 1, fatal: true, line: 1, place: { start: { line: 1, column: 1, offset: +0 }, end: { line: 1, column: 10, offset: 9 } }, reason: '__vite_ssr_import_2__.default.validateHTMLColor is not a function', ruleId: 'rehypeCodeHook', source: undefined, file: '' } Caused by: TypeError: default.validateHTMLColor is not a function ❯ Object.code src/index.ts:22:14 ❯ ../rehype-code-hook/dist/index.js:114:39 ❯ overload ../../node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:311:12 ❯ node element<code>) (file:/home/runner/work/beoe/beoe/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:346:27 ❯ node element<p>) (file:/home/runner/work/beoe/beoe/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61 ❯ node root) (file:/home/runner/work/beoe/beoe/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61 ❯ visitParents ../../node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:304:31 ❯ Module.visit ../../node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:302:3 ❯ ../rehype-code-hook/dist/index.js:44:9 ❯ wrapped ../../node_modules/.pnpm/[email protected]/node_modules/trough/lib/index.js:160:27
Build and Test
@beoe/rehype-color-chips#test: command (/home/runner/work/beoe/beoe/packages/rehype-color-chips) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
Build and Test
Process completed with exit code 1.
Build and Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and Test
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build and Test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build and Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build and Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/