From ef749c49d766030b219def630c5124b92d7ba1c6 Mon Sep 17 00:00:00 2001 From: Michael Chen Date: Mon, 5 Aug 2024 15:50:40 +0800 Subject: [PATCH] public access --- .github/workflows/release-insiders.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml index bd2c28c..4d5181c 100644 --- a/.github/workflows/release-insiders.yml +++ b/.github/workflows/release-insiders.yml @@ -52,11 +52,11 @@ jobs: run: npm version 0.0.0-insiders.${{ env.SHA_SHORT }} --force --no-git-tag-version --prefix react - name: Publish `@jinshuju/field-icons` - run: npm publish --provenance --tag insiders + run: npm publish --access public --provenance --tag insiders env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish `@jinshuju/field-icons-react` - run: npm publish ./react --provenance --tag insiders + run: npm publish ./react --access public --provenance --tag insiders env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f11d685..ce6fe4a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,11 +46,11 @@ jobs: echo "RELEASE_CHANNEL=$(npm run release-channel --silent)" >> $GITHUB_ENV - name: Publish `@jinshuju/field-icons` - run: npm publish --provenance --tag ${{ env.RELEASE_CHANNEL }} + run: npm publish --provenance --access public --tag ${{ env.RELEASE_CHANNEL }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish `@jinshuju/field-icons-react` - run: npm publish ./react --provenance --tag ${{ env.RELEASE_CHANNEL }} + run: npm publish ./react --access public --provenance --tag ${{ env.RELEASE_CHANNEL }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}