Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 596 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 596 Bytes

NPM PKG Stack Example

A simple and neat setup for a NPM Package

Credit where credit is due: Blazing Fast Tips: Publishing to NPM

Learnings

  • Make sure PR permissions is properly set up for actions in github settings
  • .npmrc with autoInstallPeers=true set to true was necessary for pnpm install --frozen-lockfile to run
  • secrets.NPM_TOKEN setup required for publish workflow to run
  • Make sure "access": "public" on publishConfig is added
  • If 2FA is setup on NPM account account in NPM, that you disable it for write actions