From 5bdb843b9c9ad1d3f38cca4a83fd9cec20e1cdbd Mon Sep 17 00:00:00 2001 From: myw Date: Thu, 11 Jun 2026 01:08:35 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20publish.yml?= =?UTF-8?q?=EF=BC=8C=E7=82=BA=20npm=20publish=20=E6=B7=BB=E5=8A=A0=20--acc?= =?UTF-8?q?ess=20public=20=E5=8F=83=E6=95=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 37f4c5f..a640124 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,4 +22,6 @@ jobs: - run: npm install - - run: npm publish --provenance \ No newline at end of file + - run: npm publish --provenance --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file