From f191e4282fcaf0882aaaafeed05365115a340249 Mon Sep 17 00:00:00 2001 From: Jun Date: Sun, 29 Oct 2023 14:30:19 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20.npmrc=20action=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EB=8F=99=EC=A0=81=EC=9C=BC=EB=A1=9C=20=EC=83=9D=EC=84=B1?= =?UTF-8?q?=ED=95=B4=EC=A3=BC=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 9 +++++++++ .npmrc | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) delete mode 100644 .npmrc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da6c1b7..bf14dea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,15 @@ jobs: - name: Install Dependencies run: yarn + - name: Creating .npmrc + run: | + cat << EOF > "$HOME/.npmrc" + auto-install-peers = true + //registry.npmjs.org/:_authToken=$NPM_TOKEN + EOF + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 diff --git a/.npmrc b/.npmrc deleted file mode 100644 index b909d06..0000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -auto-install-peers = true -//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN} \ No newline at end of file