Skip to content

mindhivenz/deploy-js

Repository files navigation

deploy-js

GitHub Packages Authentication

Read packages

Create a classic Personal Access Token with scopes read:packages

Create an ~/.npmrc and add:

//npm.pkg.github.com/:_authToken=<GH_TOKEN>
@mindhivenz:registry=https://npm.pkg.github.com/

Write packages

Generate a write token with:

gh auth refresh --scopes write:packages
npm config set //npm.pkg.github.com/:_authToken=$(gh auth token)

How to release

cd deploy
yarn gulp release --patch|minor|major|same

Branch Development

To use a branch version of this package in a project:

  • Push branch to GitHub to trigger build job
  • build.sh compiles the ts code and pushes to a new branch release/<your_branch>
  • Then in your project run:
yarn add git+ssh://git@github.com:mindhivenz/deploy-js.git#release/<your_branch>

The project's package.json should be updated with:

{
  "dependencies": {
    "@mindhivenz/deploy": "git+ssh://git@github.com:mindhivenz/deploy-js.git#release/<your_branch>"
  }
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

5 watching

Forks

Packages

 
 
 

Contributors