Skip to content

Commit 872ecfa

Browse files
committed
chore: remove CLI npm publish from release workflow
The fork does not publish a CLI package to npm, so remove the publish_cli job and update downstream job dependencies accordingly.
1 parent 4de5477 commit 872ecfa

1 file changed

Lines changed: 2 additions & 43 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ on:
1313

1414
permissions:
1515
contents: write
16-
id-token: write
1716

1817
jobs:
1918
preflight:
@@ -223,49 +222,9 @@ jobs:
223222
path: release-publish/*
224223
if-no-files-found: error
225224

226-
publish_cli:
227-
name: Publish CLI to npm
228-
needs: [preflight, build]
229-
runs-on: ubuntu-24.04
230-
steps:
231-
- name: Checkout
232-
uses: actions/checkout@v6
233-
with:
234-
ref: ${{ needs.preflight.outputs.ref }}
235-
236-
- name: Setup Bun
237-
uses: oven-sh/setup-bun@v2
238-
with:
239-
bun-version-file: package.json
240-
241-
- name: Setup Node
242-
uses: actions/setup-node@v6
243-
with:
244-
node-version-file: package.json
245-
registry-url: https://registry.npmjs.org
246-
247-
- name: Install dependencies
248-
run: bun install --frozen-lockfile
249-
250-
- name: Align package versions to release version
251-
run: bun run scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"
252-
253-
- name: Build CLI package
254-
run: bun run build --filter=@t3tools/web --filter=t3
255-
256-
- name: Publish CLI package
257-
run: |
258-
TAG="latest"
259-
if [[ "${{ needs.preflight.outputs.is_prerelease }}" == "true" ]]; then
260-
TAG="next"
261-
fi
262-
bun run apps/server/scripts/cli.ts publish --tag "$TAG" --app-version "${{ needs.preflight.outputs.version }}" --verbose
263-
env:
264-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
265-
266225
release:
267226
name: Publish GitHub Release
268-
needs: [preflight, build, publish_cli]
227+
needs: [preflight, build]
269228
runs-on: ubuntu-24.04
270229
steps:
271230
- name: Checkout
@@ -317,7 +276,7 @@ jobs:
317276

318277
finalize:
319278
name: Finalize release
320-
needs: [preflight, publish_cli, release]
279+
needs: [preflight, release]
321280
runs-on: ubuntu-24.04
322281
steps:
323282
- name: Checkout

0 commit comments

Comments
 (0)