Skip to content

Update publish.yml

Update publish.yml #47

Triggered via push June 3, 2024 01:30
Status Failure
Total duration 30s
Artifacts

publish.yml

on: push
test-and-publish
19s
test-and-publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
test-and-publish
TypeError: Unable to parse package.json Invalid Version: undefined at Object.readManifest (/home/runner/work/_actions/JS-DevTools/npm-publish/0f451a94170d1699fd50710966d48fb26194d939/src/read-manifest.ts:47:11) at Object.npmPublish (/home/runner/work/_actions/JS-DevTools/npm-publish/0f451a94170d1699fd50710966d48fb26194d939/src/npm-publish.ts:15:18) at main (/home/runner/work/_actions/JS-DevTools/npm-publish/0f451a94170d1699fd50710966d48fb26194d939/src/action/index.ts:28:19) TypeError: Invalid Version: undefined at new SemVer (/home/runner/work/_actions/JS-DevTools/npm-publish/0f451a94170d1699fd50710966d48fb26194d939/dist/node_modules/semver/classes/semver.js:19:13) at Object.readManifest (/home/runner/work/_actions/JS-DevTools/npm-publish/0f451a94170d1699fd50710966d48fb26194d939/src/read-manifest.ts:40:16) at Object.npmPublish (/home/runner/work/_actions/JS-DevTools/npm-publish/0f451a94170d1699fd50710966d48fb26194d939/src/npm-publish.ts:15:18) at main (/home/runner/work/_actions/JS-DevTools/npm-publish/0f451a94170d1699fd50710966d48fb26194d939/src/action/index.ts:28:19)
test-and-publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d, JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-and-publish
The following actions uses node12 which is deprecated and will be forced to run on node16: JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/