1.0.3 • Published 4 years ago

auqlue v1.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

ci/cd NPM version

A sample repository containing a dead simple module:

// index.js
module.exports = 42

to show how to publish a NPM package, here called: auqlue.

NB: AUQLUE is the acronym for the "Answer to the Ultimate Question of Life, the Universe, and Everything" which is 42 🙂.

Publish to NPM

Ready to publish a new version to NPM registry?

Manually

  1. bump the package.json version
  2. npm login if not already
  3. npm publish

If successful, you should want to tag the version:

$ git add package.json
$ git commit -m "bump version"
$ git tag v1.0.1
$ git push --tags

Using CI/CD workflow

Pre-requisite: 1. Generate a NPM token 2. Set it as NPM_TOKEN secret (in Settings > Secrets and as referenced into cicd.yml file)

Then, to release a new version on npm: 1. bump the package.json version 2. then, create a new realese and wait for the ci/cd publish it :) npm.io

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago