From ed9aa2ce28f5e29e1797e4f06bfee62d9d2c53c8 Mon Sep 17 00:00:00 2001 From: jack-ph Date: Mon, 26 Jan 2026 14:08:03 +0000 Subject: [PATCH] fix: Revert release workflow --- .github/workflows/release.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 842483a83..f92474b34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,14 +5,15 @@ on: branches: - master -permissions: - contents: write - pull-requests: write +concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: release: name: Release runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write steps: - name: Checkout Repo uses: actions/checkout@v4 @@ -21,22 +22,18 @@ jobs: run: corepack enable - name: Setup Node.js 20.x - uses: actions/setup-node@v4 + uses: actions/setup-node@v3 with: node-version: 20.x - cache: "yarn" - registry-url: "https://registry.npmjs.org" - name: Install Dependencies - run: yarn install --immutable + run: yarn - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba with: - version: yarn changeset version publish: yarn release - commitMode: github-api env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN_PHANTOM_SECURITY_BOT }}