From dafe700f3bfd432827c423c99aa5e71bfa8f27c7 Mon Sep 17 00:00:00 2001 From: hyochan Date: Wed, 4 Sep 2024 01:08:16 +0900 Subject: [PATCH] ci: update publish-package --- .github/workflows/publish-package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 5546275a..cf472e82 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -16,6 +16,10 @@ jobs: - run: yarn - run: yarn build + + - name: Configure npm for publishing + run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc + - run: yarn publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}