Skip to content

Fix blur on transparent images #260

Fix blur on transparent images

Fix blur on transparent images #260

Triggered via pull request September 2, 2024 07:09
@hipstersmoothiehipstersmoothie
synchronize #1315
blur
Status Failure
Total duration 6m 21s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 15 warnings
.tshy-build/esm/index.node.test.js > Blit over image > blit alpha: plugins/plugin-blit/src/index.node.test.ts#L18
Error: New snapshot was not written. The update flag must be explicitly passed to write a new snapshot. + This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default. ❯ src/index.node.test.ts:18:20
.tshy-build/esm/index.node.test.js > Blit over image > uses src params correctly: plugins/plugin-blit/src/index.node.test.ts#L24
Error: Could not load Buffer from URL: /home/runner/work/jimp/jimp/plugins/plugin-blit/.tshy-build/esm/images/cat_butt.png ❯ Function.read ../../packages/core/src/index.ts:221:15 ❯ createCat src/index.node.test.ts:24:18 ❯ src/index.node.test.ts:77:19
test
@jimp/plugin-blit#test: command (/home/runner/work/jimp/jimp/plugins/plugin-blit) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test --watch=false exited (1)
test
Process completed with exit code 1.
src/index.test.ts > hasAlpha > image with alpha: plugins/plugin-blur/src/index.test.ts#L15
TypeError: fs.existsSync is not a function ❯ Object.toMatchImageSnapshot ../../../../../../../node_modules/.vite/deps/jest-image-snapshot.js:23610:61 ❯ Proxy.methodWrapper ../../../../../../../node_modules/.vite/deps/vitest___chai.js:1131:29 ❯ src/index.test.ts:15:19
test-browser
@jimp/plugin-blur#test:browser: command (/home/runner/work/jimp/jimp/plugins/plugin-blur) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test:browser --watch=false exited (1)
test-browser
Process completed with exit code 1.
install
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: packages/core/src/index.ts#L77
Unexpected any. Specify a different type
lint: packages/core/src/index.ts#L77
Unexpected any. Specify a different type
lint: packages/core/src/index.ts#L83
Unexpected any. Specify a different type
lint: packages/core/src/index.ts#L83
Unexpected any. Specify a different type
lint: packages/core/src/index.ts#L84
Unexpected any. Specify a different type
lint: packages/core/src/index.ts#L92
Unexpected any. Specify a different type
lint: packages/core/src/index.ts#L98
Unexpected any. Specify a different type
lint: packages/core/src/index.ts#L102
Unexpected any. Specify a different type
lint: packages/core/src/index.ts#L106
Unexpected any. Specify a different type
lint: packages/core/src/index.ts#L156
Unexpected any. Specify a different type
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-browser
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/