diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 26821d5..0b19d2b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -30,6 +30,7 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ + - run: echo "Check NPM_TOKEN length" && [ -z "${NODE_AUTH_TOKEN}" ] && echo "NPM_TOKEN is empty" || echo "NPM_TOKEN is set" - run: npm ci - run: npm run build - run: npm publish