From d4b577a37bda0ed32be5d07c08c5dc330362d84e Mon Sep 17 00:00:00 2001 From: Shan Wenxiao Date: Sat, 7 Feb 2026 08:53:39 +0800 Subject: [PATCH 1/2] Disable npm publish and checkout steps Comment out the checkout and publish steps in the workflow. Signed-off-by: Shan Wenxiao --- .github/workflows/Prerelease.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Prerelease.yml b/.github/workflows/Prerelease.yml index d775ea9f2..03bfc8971 100644 --- a/.github/workflows/Prerelease.yml +++ b/.github/workflows/Prerelease.yml @@ -21,13 +21,13 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - name: Publish to npm - run: npm publish --provenance - env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + # - uses: actions/checkout@v6 + # with: + # fetch-depth: 0 + # - name: Publish to npm + # run: npm publish --provenance + # env: + # NODE_AUTH_TOKEN: ${{secrets.npm_token}} - name: Get version env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} From 0d01bd81bd3c6de709bad34167e3c0c8ec8ebf3e Mon Sep 17 00:00:00 2001 From: Shan Wenxiao Date: Sat, 7 Feb 2026 08:54:00 +0800 Subject: [PATCH 2/2] Uncomment checkout action in Prerelease workflow Signed-off-by: Shan Wenxiao --- .github/workflows/Prerelease.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Prerelease.yml b/.github/workflows/Prerelease.yml index 03bfc8971..387437f08 100644 --- a/.github/workflows/Prerelease.yml +++ b/.github/workflows/Prerelease.yml @@ -21,9 +21,9 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - # - uses: actions/checkout@v6 - # with: - # fetch-depth: 0 + - uses: actions/checkout@v6 + with: + fetch-depth: 0 # - name: Publish to npm # run: npm publish --provenance # env: