From 6349dc6604915fc047d4d71d93f11d25d2364f99 Mon Sep 17 00:00:00 2001 From: Shinji-Li <1349021570@qq.com> Date: Mon, 19 Feb 2024 17:05:05 +0800 Subject: [PATCH] :memo: docs: delete release auto publish workflow (#163) --- .github/workflows/release.yml | 69 ----------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index e1aa8f87..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: Release CI -on: - push: - branches: - - main - - alpha - - beta - - rc - -jobs: - test: - name: Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - token: ${{ secrets.CI_GITHUB_TOKEN }} - - - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Setup Node.js environment - uses: actions/setup-node@v3 - with: - node-version: '18' - - - name: Install deps - run: pnpm install - - - name: Test - run: pnpm run test - - release: - needs: test - name: Release - runs-on: ubuntu-latest - permissions: - contents: write # to be able to publish a GitHub release - issues: write # to be able to comment on released issues - pull-requests: write # to be able to comment on released pull requests - id-token: write # to enable use of OIDC for npm provenance - steps: - - uses: actions/checkout@v3 - with: - token: ${{ secrets.CI_GITHUB_TOKEN }} - - - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Setup Node.js environment - uses: actions/setup-node@v3 - with: - node-version: '18' - - - name: Install deps - run: pnpm install - - - name: Pre Build - run: pnpm run build - - - name: release - run: pnpm run release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }}