From 53cbf775f7904eacaaa22035552bc18620342acb Mon Sep 17 00:00:00 2001 From: Suhun Han Date: Fri, 12 Jul 2024 11:28:22 +0900 Subject: [PATCH] fix(ci): set registry config explicitly --- .github/workflows/publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 22445cd..bf24c62 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,8 +40,11 @@ jobs: TAG_NAME: ${{ github.event.release.tag_name }} run: pnpm version ${TAG_NAME} --no-git-tag-version - - name: 🐙 Publish + - name: Set publishing config + run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" env: NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_TOKEN }} + + - name: 🐙 Publish run: | - pnpm publish --no-git-checks + pnpm publish --no-git-checks --access=public