From 8ce32146959fcf869bebb627262b6e85b90d6749 Mon Sep 17 00:00:00 2001 From: winches <329487092@qq.com> Date: Tue, 5 Nov 2024 11:06:44 +0800 Subject: [PATCH 1/2] fix: release node version --- .github/workflows/release.yml | 9 +++++---- package.json | 3 +-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 711cb20..c65ed2e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,14 +13,15 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v3 + - name: Set node + uses: actions/setup-node@v4 with: - check-latest: true - node-version-file: '.nvmrc' + registry-url: https://registry.npmjs.org/ + node-version: lts/* - run: npx changelogithub env: diff --git a/package.json b/package.json index 0a18d77..db1379b 100644 --- a/package.json +++ b/package.json @@ -99,8 +99,7 @@ "typescript": "5.2.2" }, "engines": { - "pnpm": ">=9.x", - "node": ">=18.17.x" + "pnpm": ">=9.x" }, "packageManager": "pnpm@9.6.0" } From 98c6d8b99421b8297494a1f385a464a4334ba195 Mon Sep 17 00:00:00 2001 From: winches <329487092@qq.com> Date: Tue, 5 Nov 2024 11:08:43 +0800 Subject: [PATCH 2/2] ci: allow release manual triger --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c65ed2e..0509466 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: tags: - 'v*' branches: [main] + workflow_dispatch: # Allows manual triggering of the workflow jobs: release: