Skip to content

Add Node 22+ support #87

Add Node 22+ support

Add Node 22+ support #87

Triggered via pull request December 5, 2024 13:02
Status Failure
Total duration 27s
Artifacts

run.yml

on: pull_request
Matrix: test
Publish on npm
0s
Publish on npm
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
test/cli.test.ts: bin/pkg.ts#L6
Error: ENOENT: no such file or directory, open '/home/runner/work/linky/package.json' ❯ bin/pkg.ts:6:6 ❯ bin/store.ts:2:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'open', code: 'ENOENT', path: '/home/runner/work/linky/package.json' }
Test (Node v18)
Process completed with exit code 1.
Test (Node v16)
The job was canceled because "_18" failed.
test/cli.test.ts: bin/pkg.ts#L6
Error: ENOENT: no such file or directory, open '/home/runner/work/linky/package.json' ❯ bin/pkg.ts:6:6 ❯ bin/store.ts:2:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'open', code: 'ENOENT', path: '/home/runner/work/linky/package.json' }
Test (Node v16)
Process completed with exit code 1.
Test (Node v18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint: bin/auth.ts#L14
Unexpected any. Specify a different type
Lint: bin/cli.ts#L10
Unexpected any. Specify a different type
Lint: bin/metering.ts#L77
Unexpected any. Specify a different type
Lint: bin/store.ts#L10
Unexpected any. Specify a different type
Lint: lib/index.ts#L30
Unexpected any. Specify a different type
Lint: lib/index.ts#L73
Unexpected any. Specify a different type
Lint: test/fixtures/generate.ts#L48
Unexpected any. Specify a different type
Lint: test/fixtures/generate.ts#L86
Unexpected any. Specify a different type