Skip to content

Increase the probability that removeUnnecessarySpan and mergeNode will be triggered. #14073

Increase the probability that removeUnnecessarySpan and mergeNode will be triggered.

Increase the probability that removeUnnecessarySpan and mergeNode will be triggered. #14073

Triggered via pull request June 3, 2024 01:35
Status Failure
Total duration 5m 3s
Artifacts

build-and-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
build: packages/roosterjs-content-model-dom/lib/modelToDom/optimizers/optimize.ts#L16
'computedAttributes' is never reassigned. Use 'const' instead
build: packages/roosterjs-content-model-dom/lib/modelToDom/optimizers/optimize.ts#L23
'computedStyle' is never reassigned. Use 'const' instead
build: packages/roosterjs-content-model-dom/lib/modelToDom/optimizers/removeUnnecessarySpan.ts#L10
'newComputedAttributes' is never reassigned. Use 'const' instead
build: packages/roosterjs-content-model-dom/lib/modelToDom/optimizers/removeUnnecessarySpan.ts#L32
'valueText' is never reassigned. Use 'const' instead
build: packages/roosterjs-content-model-dom/lib/modelToDom/optimizers/removeUnnecessarySpan.ts#L37
'values' is never reassigned. Use 'const' instead
build: packages/roosterjs-content-model-dom/lib/modelToDom/optimizers/removeUnnecessarySpan.ts#L50
'newComputedCSS' is never reassigned. Use 'const' instead
build
Process completed with exit code 1.
test-on-chrome
The process '/usr/bin/xvfb-run' failed with exit code 1
test-on-firefox
The process '/usr/bin/xvfb-run' failed with exit code 1
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2.3.1, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2.3.1, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
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
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/
test-on-chrome
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2.3.1, actions/setup-node@v2, GabrielBB/xvfb-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-on-chrome
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2.3.1, actions/setup-node@v2, GabrielBB/xvfb-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-on-chrome
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/
test-on-chrome
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/
test-on-firefox
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2.3.1, actions/setup-node@v2, GabrielBB/xvfb-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-on-firefox
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2.3.1, actions/setup-node@v2, GabrielBB/xvfb-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-on-firefox
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/
test-on-firefox
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/