mirror of
https://github.com/hanzoai/frames.git
synced 2026-09-24 00:08:03 +00:00
fix(ci): make publish steps idempotent with continue-on-error (#51)
Already-published versions cause npm to return E403. With continue-on-error, the workflow skips published packages and continues to publish the remaining ones. Safe to re-run.
This commit is contained in:
@@ -25,31 +25,37 @@ jobs:
|
||||
- run: bun run build
|
||||
|
||||
- name: Publish @hyperframes/core
|
||||
continue-on-error: true
|
||||
run: npm --workspace packages/core publish --access public --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish @hyperframes/engine
|
||||
continue-on-error: true
|
||||
run: npm --workspace packages/engine publish --access public --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish @hyperframes/producer
|
||||
continue-on-error: true
|
||||
run: npm --workspace packages/producer publish --access public --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish @hyperframes/studio
|
||||
continue-on-error: true
|
||||
run: npm --workspace packages/studio publish --access public --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish hyperframes (CLI)
|
||||
continue-on-error: true
|
||||
run: npm --workspace packages/cli publish --access public --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Create GitHub Release
|
||||
continue-on-error: true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user