From f667ab5aeed8af4486bcdfb7bad7bcf9a968a659 Mon Sep 17 00:00:00 2001 From: wangsongc Date: Thu, 15 May 2025 15:45:10 +0800 Subject: [PATCH 1/2] ci: fix github action path --- .github/{ => workflows}/publish.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => workflows}/publish.yml (100%) diff --git a/.github/publish.yml b/.github/workflows/publish.yml similarity index 100% rename from .github/publish.yml rename to .github/workflows/publish.yml From 966474b81785b7b862170f8d4796056f760faf9c Mon Sep 17 00:00:00 2001 From: wangsongc Date: Thu, 15 May 2025 15:55:02 +0800 Subject: [PATCH 2/2] ci: fix release --- .github/workflows/publish.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9e29683..382f44a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,19 +12,21 @@ jobs: steps: # Use github actions default to checkout corresponding branch - uses: actions/checkout@v2 + with: + fetch-depth: 0 # Use github actions to install node at least 14 version - - name: Setup node - uses: actions/setup-node@v2 + - name: Set node version to 20 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: 20 registry-url: 'https://registry.npmjs.org' # Use github actions to install pnpm at least 6 version - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 6 + version: 9 # Install dependencies - name: Install dependencies