mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-05 02:31: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:
|
npm_publish:
|
||||||
image: node:alpine
|
image: node:alpine
|
||||||
|
environment:
|
||||||
|
NPM_TOKEN:
|
||||||
|
from_secret: npm_token
|
||||||
commands:
|
commands:
|
||||||
- *install_pnpm
|
- *install_pnpm
|
||||||
- pnpm i
|
- pnpm i
|
||||||
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
|
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
|
||||||
- echo "email = tyhou13@gmx.com" >> ~/.npmrc
|
- echo "email = tyhou13@gmx.com" >> ~/.npmrc
|
||||||
- npm publish
|
- npm publish
|
||||||
secrets: [npm_token]
|
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
|
Loading…
Reference in a new issue