Skip to content

davenverse/minimal-npm-sjs-cli-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minimal-npm-sjs-cli-example - Minimal NPM CLI Example Code of Conduct

Quick Start

Get your NPM_TOKEN

  1. Go to NPM
  2. Login
  3. Click on your profile photo in the top right corner, and select Access Tokens
  4. Create a new token with the Automation type, name it something that helps you identify it.
  5. Come back to your repo, and click Settings
  6. On the left hand bar that appears, click Secrets -> Actions
  7. New Repository Secret in the top right corner and set NPM_TOKEN to the value of your token.

Write your application

Write an application that does what you want.

Publish to NPM

Create a Release on Github. The tag should start with v and be in semver. Like v0.0.1