From c03fdb05304abf86163471abec50a00335fadd5c Mon Sep 17 00:00:00 2001 From: windychen Date: Fri, 29 May 2026 14:54:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E8=AF=95=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E6=8E=A8=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8a785a5..b0d0270 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,19 +10,7 @@ jobs: build: runs-on: docker # 匹配你 runner 的标签 steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Install dependencies - run: npm i # 或 npm install - - - name: Run build - run: npm run build - - - name: Setup npm for Verdaccio - run: | - npm config set registry http://verdaccio:4873/ - npm config set //verdaccio:4873/:_authToken ${{ secrets.NPM_TOKEN }} - - - name: Publish package - run: npm publish + - name: Debug token length + env: + TOKEN: ${{ secrets.NPM_TOKEN }} + run: echo "Token length: ${#TOKEN}"