We have 2fa for auth-and-writes and use an automation token for best practices. But semantic-release doesn't support this yet: - Upstream issue: https://github.com/semantic-release/npm/issues/277 - Example failed publish build: https://github.com/FormidableLabs/dogs/runs/1289482234?check_suite_focus=true ## Tasks We've bandaided over this with lower npm privileges and different access tokens. - [ ] Track https://github.com/semantic-release/npm/issues/277 and then update this project as follows: - [ ] Replace `NPM_TOKEN` secret with 1password IC vault field `GitHub Actions CI/CD Publish Token -- Automation (NPM_TOKEN)`. (We're currently using `GitHub Actions CI/CD Publish Token -- Publish (NPM_TOKEN)` - [ ] In npm as superadmin (probably @ryan-roemer ) switch https://www.npmjs.com/package/@formidable/dogs/access from `Two-factor authentication is not required` to `Require two-factor authentication or automation tokens`. - [ ] In npm account for `dogs-ci`, switch 2fa from auth only to auth and publishing.
We have 2fa for auth-and-writes and use an automation token for best practices. But semantic-release doesn't support this yet:
Tasks
We've bandaided over this with lower npm privileges and different access tokens.
NPM_TOKENsecret with 1password IC vault fieldGitHub Actions CI/CD Publish Token -- Automation (NPM_TOKEN). (We're currently usingGitHub Actions CI/CD Publish Token -- Publish (NPM_TOKEN)Two-factor authentication is not requiredtoRequire two-factor authentication or automation tokens.dogs-ci, switch 2fa from auth only to auth and publishing.