mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 14:27:26 +00:00
fix(ci): remove pnpm from publish workflow, use bun + npm
- Remove pnpm/action-setup (no pnpm-lock.yaml exists after bun migration) - Remove cache: pnpm from setup-node (caused "lockfile not found" error) - Use bun for install/build, npm for publish (npm comes with node) - Pass NODE_AUTH_TOKEN per publish step
This commit is contained in:
@@ -17,9 +17,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
@@ -28,19 +25,29 @@ jobs:
|
||||
- run: bun run build
|
||||
|
||||
- name: Publish @hyperframes/core
|
||||
run: pnpm --filter @hyperframes/core publish --access public --provenance --no-git-checks
|
||||
run: npm --workspace packages/core publish --access public --provenance --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish @hyperframes/engine
|
||||
run: pnpm --filter @hyperframes/engine publish --access public --provenance --no-git-checks
|
||||
run: npm --workspace packages/engine publish --access public --provenance --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish @hyperframes/producer
|
||||
run: pnpm --filter @hyperframes/producer publish --access public --provenance --no-git-checks
|
||||
run: npm --workspace packages/producer publish --access public --provenance --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish @hyperframes/studio
|
||||
run: pnpm --filter @hyperframes/studio publish --access public --provenance --no-git-checks
|
||||
run: npm --workspace packages/studio publish --access public --provenance --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish hyperframes (CLI)
|
||||
run: pnpm --filter hyperframes publish --access public --provenance --no-git-checks
|
||||
run: npm --workspace packages/cli publish --access public --provenance --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Create GitHub Release
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user