Skip to content

ci: fix workflows to use bun and add pnpm-workspace.yaml #8

ci: fix workflows to use bun and add pnpm-workspace.yaml

ci: fix workflows to use bun and add pnpm-workspace.yaml #8

Triggered via push April 6, 2026 16:47
Status Failure
Total duration 21s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 8 warnings
error: expect(received).toBe(expected): packages/core/src/__tests__/cli.test.ts#L204
Expected: 0 Received: 1 at <anonymous> (/home/runner/work/htex/htex/packages/core/src/__tests__/cli.test.ts:204:26)
error: expect(received).toBe(expected): packages/core/src/__tests__/cli.test.ts#L194
Expected: 0 Received: 1 at <anonymous> (/home/runner/work/htex/htex/packages/core/src/__tests__/cli.test.ts:194:26)
error: expect(received).toBe(expected): packages/core/src/__tests__/cli.test.ts#L204
Expected: 0 Received: 1 at <anonymous> (/home/runner/work/htex/htex/packages/core/src/__tests__/cli.test.ts:204:26)
error: expect(received).toBe(expected): packages/core/src/__tests__/cli.test.ts#L194
Expected: 0 Received: 1 at <anonymous> (/home/runner/work/htex/htex/packages/core/src/__tests__/cli.test.ts:194:26)
error: expect(received).toBe(expected): packages/core/src/__tests__/cli.test.ts#L142
Expected: 0 Received: 1 at <anonymous> (/home/runner/work/htex/htex/packages/core/src/__tests__/cli.test.ts:142:24)
error: expect(received).toBe(expected): packages/core/src/__tests__/cli.test.ts#L136
Expected: 0 Received: 1 at <anonymous> (/home/runner/work/htex/htex/packages/core/src/__tests__/cli.test.ts:136:24)
error: ENOENT: no such file or directory: packages/core/src/__tests__/cli.test.ts#L128
at <anonymous> (/home/runner/work/htex/htex/packages/core/src/__tests__/cli.test.ts:128:12)
error: expect(received).toBe(expected): packages/core/src/__tests__/cli.test.ts#L118
Expected: 0 Received: 1 at <anonymous> (/home/runner/work/htex/htex/packages/core/src/__tests__/cli.test.ts:118:24)
error: expect(received).toBe(expected): packages/core/src/__tests__/cli.test.ts#L105
Expected: 0 Received: 1 at <anonymous> (/home/runner/work/htex/htex/packages/core/src/__tests__/cli.test.ts:105:24)
error: ENOENT: no such file or directory: packages/vanilla/src/__tests__/adapter.test.ts#L20
at /home/runner/work/htex/htex/packages/vanilla/src/__tests__/adapter.test.ts:20:26 at loadAndEvaluateModule (2:1)
eslint(no-unused-vars): packages/vue/src/index.ts#L14
Identifier 'onUnmounted' is imported but never used.
eslint(prefer-const): packages/demo-svelte/src/App.svelte#L30
`errorMsg` is never reassigned.
eslint(prefer-const): packages/demo-svelte/src/App.svelte#L29
`renderTime` is never reassigned.
eslint(prefer-const): packages/demo-svelte/src/App.svelte#L28
`rendered` is never reassigned.
eslint(prefer-const): packages/demo-svelte/src/App.svelte#L16
`_r` is never reassigned.
eslint(prefer-const): packages/demo-svelte/src/App.svelte#L13
`previewEl` is never reassigned.
eslint(prefer-const): packages/demo-svelte/src/App.svelte#L9
`renderMode` is never reassigned.
eslint(prefer-const): packages/demo-svelte/src/App.svelte#L8
`theme` is never reassigned.
eslint(prefer-const): packages/demo-svelte/src/App.svelte#L7
`format` is never reassigned.
eslint(no-unused-vars): packages/react/src/index.ts#L13
Identifier 'useRef' is imported but never used.
test (20.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, oven-sh/setup-bun@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
eslint(no-useless-escape): packages/core/src/renderers/html.ts#L436
Unnecessary escape character 'h'
eslint(no-useless-escape): packages/core/src/renderers/html.ts#L424
Unnecessary escape character 'm'
eslint(no-useless-escape): packages/core/src/renderers/html.ts#L379
Unnecessary escape character 'i'
eslint(no-useless-escape): packages/core/src/renderers/html.ts#L352
Unnecessary escape character 's'
eslint(no-useless-escape): packages/core/src/renderers/html.ts#L348
Unnecessary escape character 's'
eslint(no-useless-escape): packages/core/src/renderers/html.ts#L329
Unnecessary escape character 'a'
eslint-plugin-unicorn(no-new-array): packages/core/src/measurement/index.ts#L218
Do not use `new Array(singleArgument)`.