@dapplion/npm-test

1.0.3 • Public • Published

npm-test

Minimal configuration to automatically release NPM packages

.travis.yml

language: node_js

jobs:
  include:
    - stage: npm release
      if: tag IS present
      node_js: "10.16.0"
      deploy:
        provider: npm
        email: "$NPM_EMAIL"
        api_key: "$NPM_TOKEN"
        skip_cleanup: true
        on:
          tags: true

Travis configuration

Go to npm / user / tokens and get an NPM token. Then, define two private ENVs on the travis page:

  • NPM_EMAIL
  • NPM_TOKEN

How to trigger releases

npm version patch -m "Bump version"
git push origin master
git push --tags

Readme

Keywords

none

Package Sidebar

Install

npm i @dapplion/npm-test

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

2.44 kB

Total Files

5

Last publish

Collaborators

  • dapplion