From 7c8d8bd02ade30b8db244049262767f547328b0b Mon Sep 17 00:00:00 2001 From: leocs2417 Date: Mon, 5 Jan 2026 12:05:32 +0800 Subject: [PATCH] fix: update ci --- .github/workflows/ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3242900..a55cadd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,17 +6,11 @@ on: pull_request: branches: [main] -permissions: - contents: write - id-token: write - jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - with: - fetch-depth: 0 - uses: actions/setup-node@v3 with: node-version: lts/* @@ -33,7 +27,7 @@ jobs: ${{ runner.os }}-${{ matrix.node-version }}-release- ${{ runner.os }}- - run: yarn - - run: npx semantic-release --branches main + - run: npx semantic-release@24.2.9 --branches main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}