Skip to content

Make brightness function behave like other implementations (#1312) #256

Make brightness function behave like other implementations (#1312)

Make brightness function behave like other implementations (#1312) #256

Triggered via push September 2, 2024 05:22
Status Failure
Total duration 6m 47s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 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
.tshy-build/esm/index.test.js > Blit over image > blit on top, with no crop: plugins/plugin-blit/src/index.test.ts#L36
Error: Snapshot `Blit over image > blit on top, with no crop 1` mismatched ❯ src/index.test.ts:36:44
.tshy-build/esm/index.test.js > Blit over image > blit on middle, with no crop: plugins/plugin-blit/src/index.test.ts#L42
Error: Snapshot `Blit over image > blit on middle, with no crop 1` mismatched ❯ src/index.test.ts:42:7
.tshy-build/esm/index.test.js > Blit over image > blit on middle, with x,y crop: plugins/plugin-blit/src/index.test.ts#L50
Error: Snapshot `Blit over image > blit on middle, with x,y crop 1` mismatched ❯ src/index.test.ts:50:7
.tshy-build/esm/index.test.js > Blit over image > blit on middle, with x,y,w,h crop: plugins/plugin-blit/src/index.test.ts#L58
Error: Snapshot `Blit over image > blit on middle, with x,y,w,h crop 1` mismatched ❯ src/index.test.ts:58:7
.tshy-build/esm/index.test.js > Blit over image > blit partially out, on top-left: plugins/plugin-blit/src/index.test.ts#L64
Error: Snapshot `Blit over image > blit partially out, on top-left 1` mismatched ❯ src/index.test.ts:64:7
.tshy-build/esm/index.test.js > Blit over image > blit partially out, on bottom-right: plugins/plugin-blit/src/index.test.ts#L70
Error: Snapshot `Blit over image > blit partially out, on bottom-right 1` mismatched ❯ src/index.test.ts:70:7
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.
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/