Skip to content

fix: change build mode using tsc #9

fix: change build mode using tsc

fix: change build mode using tsc #9

Triggered via push June 9, 2024 12:53
Status Failure
Total duration 19s
Artifacts

publish.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
publish: index.ts#L121
Not all code paths return a value.
publish: index.ts#L121
Not all code paths return a value.
publish
Error: Unable to publish use-broadcast-channel v0.2.0 to NPM. npm publish exited with a status of 2. at Object.publish (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/npm.ts:112:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.npmPublish (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/npm-publish.ts:23:5) at main (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/action/index.ts:28:19) ProcessError: npm publish exited with a status of 2. at normalizeResult (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/node_modules/@jsdevtools/ez-spawn/lib/normalize-result.js:31:1) at ChildProcess.<anonymous> (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/node_modules/@jsdevtools/ez-spawn/lib/async.js:79:1) at ChildProcess.emit (node:events:513:28) at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, JS-DevTools/npm-publish@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
publish
The following actions uses node12 which is deprecated and will be forced to run on node16: JS-DevTools/npm-publish@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/