Skip to content

fix: fix version with ci for npm publish (#71) #42

fix: fix version with ci for npm publish (#71)

fix: fix version with ci for npm publish (#71) #42

Triggered via push May 30, 2024 10:45
Status Failure
Total duration 38s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
publish
Error: Unable to determine the current version of @corca-ai/cds on NPM. npm view @corca-ai/cds version exited with a status of 1. npm error code E401 npm error 401 Unauthorized - GET https://npm.pkg.github.com/@corca-ai%2fcds - authentication token not provided npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-05-30T10_46_23_360Z-debug-0.log at Object.getLatestVersion (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/npm.ts:71: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:16:26) at main (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/src/action/index.ts:28:19) ProcessError: npm view @corca-ai/cds version exited with a status of 1. npm error code E401 npm error 401 Unauthorized - GET https://npm.pkg.github.com/@corca-ai%2fcds - authentication token not provided npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-05-30T10_46_23_360Z-debug-0.log 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@v2, actions/cache@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: actions/setup-node@v2, 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/