Fixing woodpecker secrets warning. (#420)

This commit is contained in:
Dessalines 2024-12-03 18:13:16 -05:00 committed by GitHub
parent b52456044c
commit 210264e474
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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