diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 901209d1..594f3aff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -113,33 +113,33 @@ jobs: # with: # directory: ./coverage # fail_ci_if_error: false - release-branch: - name: Publish branch - runs-on: ubuntu-latest - needs: test - if: ${{ github.event_name == 'push' }} - environment: Production - steps: - - name: Init - uses: actions/checkout@v3 - with: - fetch-depth: 0 - # Please upvote https://github.com/orgs/community/discussions/13836 - token: ${{ secrets.GH_PAT }} - - name: Install pnpm - uses: pnpm/action-setup@v2.2.4 - - name: Setup Node - uses: actions/setup-node@v3 - with: - cache: "pnpm" - - name: Install dependencies - run: pnpm install - - name: Publish to npm and GitHub - run: pnpm release - env: - # Please upvote https://github.com/orgs/community/discussions/13836 - GITHUB_TOKEN: ${{ secrets.GH_PAT }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + # release-branch: + # name: Publish branch + # runs-on: ubuntu-latest + # needs: test + # if: ${{ github.event_name == 'push' }} + # environment: Production + # steps: + # - name: Init + # uses: actions/checkout@v3 + # with: + # fetch-depth: 0 + # # Please upvote https://github.com/orgs/community/discussions/13836 + # token: ${{ secrets.GH_PAT }} + # - name: Install pnpm + # uses: pnpm/action-setup@v2.2.4 + # - name: Setup Node + # uses: actions/setup-node@v3 + # with: + # cache: "pnpm" + # - name: Install dependencies + # run: pnpm install + # - name: Publish to npm and GitHub + # run: pnpm release + # env: + # # Please upvote https://github.com/orgs/community/discussions/13836 + # GITHUB_TOKEN: ${{ secrets.GH_PAT }} + # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} release-pr: name: Publish PR runs-on: ubuntu-latest