mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-04 18:21:12 +00:00
Fixing woodpecker secrets warning. (#420)
This commit is contained in:
parent
b52456044c
commit
210264e474
1 changed files with 3 additions and 1 deletions
|
@ -20,12 +20,14 @@ steps:
|
|||
|
||||
npm_publish:
|
||||
image: node:alpine
|
||||
environment:
|
||||
NPM_TOKEN:
|
||||
from_secret: npm_token
|
||||
commands:
|
||||
- *install_pnpm
|
||||
- pnpm i
|
||||
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
|
||||
- echo "email = tyhou13@gmx.com" >> ~/.npmrc
|
||||
- npm publish
|
||||
secrets: [npm_token]
|
||||
when:
|
||||
- event: tag
|
||||
|
|
Loading…
Reference in a new issue