From 34c19b049b9cd04c99f195f59376be1095a23270 Mon Sep 17 00:00:00 2001 From: xingpingcn <117259690+xingpingcn@users.noreply.github.com> Date: Mon, 26 Feb 2024 22:25:13 +0800 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a61fbda..1e9fe49 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,12 +16,12 @@ jobs: # Clone 仓库 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: master # 安装 Node.js - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: "20.x" registry-url: https://registry.npmjs.org/