Handle npm tokens with environment variables #1943
Annotations
6 errors and 2 warnings
|
build (ubuntu-latest, node 20, npm 11)
Process completed with exit code 1.
|
|
packagePublish › with real local registry › errors and does not retry on republish:
packages/beachball/src/__functional__/packageManager/packagePublish.test.ts#L169
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 31
- ObjectContaining {
- "success": true,
+ Object {
+ "all": "npm warn Unknown env config \"version-commit-hooks\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-tag-prefix\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-git-message\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"argv\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-git-tag\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm error code ENEEDAUTH
+ npm error need auth This command requires you to be logged in to http://localhost:4873/
+ npm error need auth You need to authorize this machine using `npm adduser`
+ npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-04-22T00_01_10_553Z-debug-0.log",
+ "command": "npm publish --registry http://localhost:4873 --tag testbeachballtag --loglevel warn",
+ "escapedCommand": "npm publish --registry \"http://localhost:4873\" --tag testbeachballtag --loglevel warn",
+ "exitCode": 1,
+ "failed": true,
+ "isCanceled": false,
+ "killed": false,
+ "shortMessage": "Command failed with exit code 1: npm publish --registry http://localhost:4873 --tag testbeachballtag --loglevel warn",
+ "signal": undefined,
+ "signalDescription": undefined,
+ "stderr": "npm warn Unknown env config \"version-commit-hooks\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-tag-prefix\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-git-message\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"argv\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-git-tag\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm error code ENEEDAUTH
+ npm error need auth This command requires you to be logged in to http://localhost:4873/
+ npm error need auth You need to authorize this machine using `npm adduser`
+ npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-04-22T00_01_10_553Z-debug-0.log",
+ "stdout": "",
+ "success": false,
+ "timedOut": false,
}
at Object.<anonymous> (src/__functional__/packageManager/packagePublish.test.ts:169:29)
|
|
packagePublish › with real local registry › can publish with a token:
packages/beachball/src/__functional__/packageManager/packagePublish.test.ts#L121
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 31
- ObjectContaining {
- "success": true,
+ Object {
+ "all": "npm warn Unknown env config \"version-commit-hooks\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-tag-prefix\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-git-message\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"argv\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-git-tag\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm error code ENEEDAUTH
+ npm error need auth This command requires you to be logged in to http://localhost:4873/
+ npm error need auth You need to authorize this machine using `npm adduser`
+ npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-04-22T00_01_08_089Z-debug-0.log",
+ "command": "npm publish --registry http://localhost:4873 --tag testbeachballtag --loglevel warn",
+ "escapedCommand": "npm publish --registry \"http://localhost:4873\" --tag testbeachballtag --loglevel warn",
+ "exitCode": 1,
+ "failed": true,
+ "isCanceled": false,
+ "killed": false,
+ "shortMessage": "Command failed with exit code 1: npm publish --registry http://localhost:4873 --tag testbeachballtag --loglevel warn",
+ "signal": undefined,
+ "signalDescription": undefined,
+ "stderr": "npm warn Unknown env config \"version-commit-hooks\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-tag-prefix\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-git-message\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"argv\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm warn Unknown env config \"version-git-tag\". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
+ npm error code ENEEDAUTH
+ npm error need auth This command requires you to be logged in to http://localhost:4873/
+ npm error need auth You need to authorize this machine using `npm adduser`
+ npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-04-22T00_01_08_089Z-debug-0.log",
+ "stdout": "",
+ "success": false,
+ "timedOut": false,
}
at Object.<anonymous> (src/__functional__/packageManager/packagePublish.test.ts:121:29)
|
|
build (ubuntu-latest, node 14, npm 8)
Process completed with exit code 1.
|
|
packagePublish › with real local registry › errors and does not retry on republish:
packages/beachball/src/__functional__/packageManager/packagePublish.test.ts#L169
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 25
- ObjectContaining {
- "success": true,
+ Object {
+ "all": "npm ERR! code ENEEDAUTH
+ npm ERR! need auth This command requires you to be logged in to http://localhost:4873/
+ npm ERR! need auth You need to authorize this machine using `npm adduser`
+
+ npm ERR! A complete log of this run can be found in:
+ npm ERR! /home/runner/.npm/_logs/2026-04-22T00_01_27_787Z-debug-0.log",
+ "command": "npm publish --registry http://localhost:4873 --tag testbeachballtag --loglevel warn",
+ "escapedCommand": "npm publish --registry \"http://localhost:4873\" --tag testbeachballtag --loglevel warn",
+ "exitCode": 1,
+ "failed": true,
+ "isCanceled": false,
+ "killed": false,
+ "shortMessage": "Command failed with exit code 1: npm publish --registry http://localhost:4873 --tag testbeachballtag --loglevel warn",
+ "signal": undefined,
+ "signalDescription": undefined,
+ "stderr": "npm ERR! code ENEEDAUTH
+ npm ERR! need auth This command requires you to be logged in to http://localhost:4873/
+ npm ERR! need auth You need to authorize this machine using `npm adduser`
+
+ npm ERR! A complete log of this run can be found in:
+ npm ERR! /home/runner/.npm/_logs/2026-04-22T00_01_27_787Z-debug-0.log",
+ "stdout": "",
+ "success": false,
+ "timedOut": false,
}
at Object.<anonymous> (src/__functional__/packageManager/packagePublish.test.ts:169:29)
|
|
packagePublish › with real local registry › can publish with a token:
packages/beachball/src/__functional__/packageManager/packagePublish.test.ts#L121
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 25
- ObjectContaining {
- "success": true,
+ Object {
+ "all": "npm ERR! code ENEEDAUTH
+ npm ERR! need auth This command requires you to be logged in to http://localhost:4873/
+ npm ERR! need auth You need to authorize this machine using `npm adduser`
+
+ npm ERR! A complete log of this run can be found in:
+ npm ERR! /home/runner/.npm/_logs/2026-04-22T00_01_24_819Z-debug-0.log",
+ "command": "npm publish --registry http://localhost:4873 --tag testbeachballtag --loglevel warn",
+ "escapedCommand": "npm publish --registry \"http://localhost:4873\" --tag testbeachballtag --loglevel warn",
+ "exitCode": 1,
+ "failed": true,
+ "isCanceled": false,
+ "killed": false,
+ "shortMessage": "Command failed with exit code 1: npm publish --registry http://localhost:4873 --tag testbeachballtag --loglevel warn",
+ "signal": undefined,
+ "signalDescription": undefined,
+ "stderr": "npm ERR! code ENEEDAUTH
+ npm ERR! need auth This command requires you to be logged in to http://localhost:4873/
+ npm ERR! need auth You need to authorize this machine using `npm adduser`
+
+ npm ERR! A complete log of this run can be found in:
+ npm ERR! /home/runner/.npm/_logs/2026-04-22T00_01_24_819Z-debug-0.log",
+ "stdout": "",
+ "success": false,
+ "timedOut": false,
}
at Object.<anonymous> (src/__functional__/packageManager/packagePublish.test.ts:121:29)
|
|
build (ubuntu-latest, node 20, npm 11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build (ubuntu-latest, node 14, npm 8)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
npm-logs-ubuntu-latest-node14-npm8
Expired
|
12.4 KB |
sha256:1bf20d7b824b0dedaacb912a3f118a74e0980142c36eb43f9a56986b92f55d86
|
|
|
npm-logs-ubuntu-latest-node20-npm11
Expired
|
10.9 KB |
sha256:dab18345abcc753b051fa2f8c10410d2a1f4bac67843a92e1d4a987bb1ebb414
|
|