diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 04ca73a..a61fbda 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v1 with: - node-version: "12.x" + node-version: "20.x" registry-url: https://registry.npmjs.org/ # 发布 NPM 包