From 470beb14c731882864c3363128591d56cbecb229 Mon Sep 17 00:00:00 2001 From: mengru Date: Fri, 20 Aug 2021 10:50:10 +0800 Subject: [PATCH] give npm token --- .github/workflows/npm-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index b37e11d..425334f 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -31,3 +31,5 @@ jobs: yarn build yarn version --no-git-tag-version --no-commit-hooks --new-version $RELEASE_VERSION yarn publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}