From 1487a6863fe44bb78362616378bffe2b1639b6fb Mon Sep 17 00:00:00 2001 From: biaov Date: Tue, 28 May 2024 19:42:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 2 +- .npmrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 823aec7..6bc8475 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: node-version: '20.12.x' registry-url: 'https://registry.npmjs.org' - run: npm install -g npm - - run: npm ci + - run: npm i - run: npm run build - run: | VERSION=$(node -p "require('./package.json').version") diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..918fa4a --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +registry=https://registry.npmmirror.com/ \ No newline at end of file