From 0884afa617ce4139157daeca750fe02fc5028d38 Mon Sep 17 00:00:00 2001 From: luochao <1055120207@qq.com> Date: Thu, 10 Aug 2023 16:34:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95ci/cd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb35b2c..932688b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: '16.x' + registry-url: 'https://registry.npmjs.org' # 依赖缓存策略 - name: Cache id: cache-dependencies @@ -39,4 +40,4 @@ jobs: run: npm publish env: # NPM_TOKEN is access token - NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file