mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-23 04:41:13 +00:00
Trying to publish with npm token 24
This commit is contained in:
parent
72379213ca
commit
754cd94d05
1 changed files with 8 additions and 22 deletions
30
.drone.yml
30
.drone.yml
|
@ -18,33 +18,19 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- yarn lint
|
- yarn lint
|
||||||
|
|
||||||
- name: npm
|
- name: npm publish
|
||||||
image: plugins/npm
|
image: node:17-alpine
|
||||||
settings:
|
commands:
|
||||||
username:
|
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> .npmrc
|
||||||
from_secret: npm_username
|
- echo "email = $NPM_EMAIL" >> ~/.npmrc
|
||||||
password:
|
- npm publish
|
||||||
from_secret: npm_password
|
|
||||||
email: tyhou13@gmx.com
|
|
||||||
registry: //registry.npmjs.org/:_authToken=$NPM_TOKEN
|
|
||||||
token:
|
|
||||||
from_secret: npm_token
|
|
||||||
environment:
|
environment:
|
||||||
NPM_TOKEN:
|
NPM_AUTH_TOKEN:
|
||||||
from_secret: npm_token
|
from_secret: npm_token
|
||||||
|
NPM_EMAIL: tyhou13@gmx.com
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/*
|
- refs/tags/*
|
||||||
# - name: npm publish
|
|
||||||
# image: node:17-alpine
|
|
||||||
# commands:
|
|
||||||
# - echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> .npmrc
|
|
||||||
# - echo "email = $NPM_EMAIL" >> ~/.npmrc
|
|
||||||
# - npm publish
|
|
||||||
# environment:
|
|
||||||
# NPM_AUTH_TOKEN:
|
|
||||||
# from_secret: npm_token
|
|
||||||
# NPM_EMAIL: tyhou13@gmx.com
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|
Loading…
Reference in a new issue