ci: changesets v3 & split release workflow #8051
OpenSheraff(GitHub profile, opens in a new tab)wants to merge 2 commits into
main fromchangesets-v3-split-releaseopened - @@ -2,4 +2,4 @@2233 on:44 push:5- branches: [main, '*-pre', '*-maint']5+ # we do not support '*-maint' branches at this time
- @@ -2,11 +2,11 @@2233 on:44 push:5- branches: [main, '*-pre', '*-maint']5+ # we do not support '*-maint' branches at this time6+ branches: [main, '*-pre']6778 concurrency:89 group: ${{ github.workflow }}-${{ github.ref }}910 cancel-in-progress: false10111112 env:12- NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- @@ -44,4 +44,3 @@4444 "format": "prettier --experimental-cli --ignore-unknown '**/*' --write",4545 "changeset": "changeset",4646 "changeset:publish": "changeset publish",47- "changeset:version": "changeset version && node scripts/update-example-deps.mjs && pnpm install --lockfile-only --ignore-scripts --no-frozen-lockfile && pnpm format",
- .github/workflows/release.yml lines 34 to 35OutdatedResolvedby Sheraff(GitHub profile, opens in a new tab)@@ -22,10 +18,18 @@22- name: Release18+ select-mode:19+ name: Select Mode2320 runs-on: ubuntu-latest21+ timeout-minutes: 2022+ outputs:23+ mode: ${{ steps.changesets.outputs.mode }}24+ publish-plan-artifact-id: ${{ steps.changesets.outputs.publish-plan-artifact-id }}25+ prerelease: ${{ steps.release-channel.outputs.prerelease }}26+ latest: ${{ steps.release-channel.outputs.latest }}27+ permissions:28+ contents: read2429 steps:2530 - name: Checkout2631 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.22732 with:28- fetch-depth: 029- persist-credentials: true # changesets/action pushes Release PR commits33+ persist-credentials: false3034 - name: Setup Tools3135 uses: TanStack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3 # main
- .github/workflows/release.yml lines 123 to 124OutdatedResolvedby Sheraff(GitHub profile, opens in a new tab)@@ -58,0 +104,21 @@104+105+ publish:106+ name: Publish to npm107+ needs: [select-mode, pack]108+ if: needs.select-mode.outputs.mode == 'publish'109+ runs-on: ubuntu-latest110+ environment: npm111+ timeout-minutes: 20112+ outputs:113+ published: ${{ steps.publish.outputs.published }}114+ published-packages: ${{ steps.publish.outputs.published-packages }}115+ permissions:116+ contents: read117+ id-token: write118+ steps:119+ - name: Checkout120+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2121+ with:122+ persist-credentials: false123+ - name: Setup Tools124+ uses: TanStack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3 # main
Sign in to join this conversation.
View your CI Pipeline Execution ↗ for commit 685c4de375d9d769c836f0176dddded155be1066
nx affected --targets=test:eslint,test:unit,tes...nx run-many --target=build --exclude=examples/*...☁️ Nx Cloud last updated this comment at
2026-08-14 21:24:11UTC