homebound-team / truss

A TypeScript DSL for writing utility CSS in React/JSX
32 stars 0 forks source link

chore: update NPM contexts #61

Closed blimmer closed 2 years ago

blimmer commented 2 years ago

https://app.shortcut.com/homebound-team/story/13496/regenerate-ci-npm-tokens

This PR updates the CircleCI config to use two distinct npm contexts (read-only and publish). This reduces the risk of accidentally publishing in a step that should not. Additionally, it uses a new automation-type token that allows us to enable 2-Factor Auth for login but not for the publishing token.

Once I transition our projects, I will delete the old npm context.