From 08601e118e6b48e97497627d7026f67d0b626c3e Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Tue, 13 Jun 2023 15:27:31 +0200 Subject: Rename NPM auth token to match NPM docs https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow#set-the-token-as-an-environment-variable-on-the-cicd-server It still isn't clear from the docs if this is enough. --- .woodpecker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 4bfa3f0..2e6df06 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -20,9 +20,8 @@ pipeline: publish-npm: image: node:lts - secrets: [ npmtoken ] + secrets: [ npm_token ] commands: - - npm config set -- '//registry.npmjs.org/:_authToken' "${NPMTOKEN}" - npm publish when: # Push new version when version tag is created -- cgit v1.2.3