mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 13:51:12 +00:00
Trying to publish with npm token 13
This commit is contained in:
parent
94ace4dc9c
commit
e6742f721c
1 changed files with 2 additions and 8 deletions
10
.drone.yml
10
.drone.yml
|
@ -39,18 +39,12 @@ steps:
|
|||
image: node:17-alpine
|
||||
commands:
|
||||
|
||||
- npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
|
||||
- echo "registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
|
||||
- npm config set //registry.npmjs.org/:_authToken "{NPM_TOKEN""
|
||||
- echo "registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
|
||||
- npm publish
|
||||
environment:
|
||||
NPM_TOKEN:
|
||||
from_secret: npm_token
|
||||
NODE_AUTH_TOKEN:
|
||||
from_secret: npm_token
|
||||
USERNAME:
|
||||
from_secret: npm_username
|
||||
PASSWORD:
|
||||
from_secret: npm_password
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
|
Loading…
Reference in a new issue