From 9c6cc321b93bed2658c6ca9ac44f9c904dd1011a Mon Sep 17 00:00:00 2001 From: zhaoyingbo Date: Sun, 18 Aug 2024 18:38:47 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E6=94=B9=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E6=A3=80=E8=AF=81=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/release.yml | 6 ++++-- .vscode/settings.json | 7 ++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index d92b466..c04146e 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -21,6 +21,10 @@ jobs: - name: Install dependencies run: npm install + - name: Configure .npmrc + run: | + echo "//git.yingbo.im:333/api/packages/zhaoyingbo/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc + - name: Bump version and push tag id: bump_version run: | @@ -31,5 +35,3 @@ jobs: - name: Publish package run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index a9a33e7..7129b75 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,8 @@ { - "cSpell.words": ["commitlint", "tseslint"] + "cSpell.words": [ + "commitlint", + "tseslint", + "yingbo", + "zhaoyingbo" + ] }