Skip to content

Commit e0dc2a3

Browse files
Fix Release and Benchmark CI workflows
- Release: remove redundant build/test/npm-publish (handled by publish.yml) - Benchmark: use built JS instead of tsx (tsx not available in CI) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1f6794f commit e0dc2a3

2 files changed

Lines changed: 8 additions & 26 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Run Tier 1 synthetic benchmark
4141
id: benchmark
4242
run: |
43-
node --import tsx packages/benchmarks/src/ci/run-ci-entrypoint.ts \
43+
node packages/benchmarks/dist/ci/run-ci-entrypoint.js \
4444
--commit "${{ github.sha }}" \
4545
--branch "${{ github.head_ref || github.ref_name }}" \
4646
--baseline "packages/benchmarks/results/baseline.json" \

.github/workflows/release.yml

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# =============================================================================
2+
# Release — Create GitHub Release with changelog on version tags
3+
#
4+
# npm publishing is handled separately by publish.yml (OIDC provenance).
5+
# Docker publishing is handled by docker-publish.yml.
6+
# =============================================================================
7+
18
name: Release
29

310
on:
@@ -7,7 +14,6 @@ on:
714

815
permissions:
916
contents: write
10-
packages: write
1117

1218
jobs:
1319
release:
@@ -19,25 +25,6 @@ jobs:
1925
with:
2026
fetch-depth: 0
2127

22-
- name: Setup pnpm
23-
uses: pnpm/action-setup@v4
24-
25-
- name: Setup Node.js
26-
uses: actions/setup-node@v4
27-
with:
28-
node-version: 20
29-
cache: 'pnpm'
30-
registry-url: 'https://registry.npmjs.org'
31-
32-
- name: Install dependencies
33-
run: pnpm install --frozen-lockfile
34-
35-
- name: Build all packages
36-
run: pnpm build
37-
38-
- name: Run tests
39-
run: pnpm test
40-
4128
- name: Generate changelog from tag
4229
id: changelog
4330
run: |
@@ -63,8 +50,3 @@ jobs:
6350
draft: false
6451
prerelease: ${{ contains(github.ref, '-') }}
6552
generate_release_notes: true
66-
67-
- name: Publish to npm
68-
run: pnpm publish -r --access public --no-git-checks
69-
env:
70-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)