From 1fd1bf1544df92f9b16e1e30af1a4accbcee6073 Mon Sep 17 00:00:00 2001 From: Jun Date: Sun, 29 Oct 2023 20:28:59 +0900 Subject: [PATCH] chore: test --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 835d5b0..17c37e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,19 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 - registry-url: "https://registry.npmjs.org" - name: Install Dependencies run: yarn install + - name: Configure npm + 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 @@ -33,4 +41,3 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}