sep-js-sdk

1.0.7 • Public • Published

如何透過 gitlab CI/CD 發佈到 npm 上?

做一次就好了

在 gitlab 內 settings variables 設定 npm 的帳密
NPM_USER=帳號
NPM_PASS=密碼
NPM_EMAIL=信箱

在 GitLab Runner 底下安裝
$ npm install -g npm-cli-login
$ git config --global user.email “tech@adgeek.com.tw”
$ git config --global user.name “Gitlab Runner”

最後就能正確使用以下三行指令
$ npm-cli-login
$ npm version --new-version patch
$ npm publish

Readme

Keywords

Package Sidebar

Install

npm i sep-js-sdk

Weekly Downloads

1

Version

1.0.7

License

ISC

Unpacked Size

10.1 kB

Total Files

8

Last publish

Collaborators

  • adgeek