mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 22:01: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
|
image: node:17-alpine
|
||||||
commands:
|
commands:
|
||||||
|
|
||||||
- npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
|
- npm config set //registry.npmjs.org/:_authToken "{NPM_TOKEN""
|
||||||
- echo "registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
|
- echo "registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
|
||||||
- npm publish
|
- npm publish
|
||||||
environment:
|
environment:
|
||||||
NPM_TOKEN:
|
NPM_TOKEN:
|
||||||
from_secret: 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
|
kind: pipeline
|
||||||
|
|
Loading…
Reference in a new issue