From bca76ce82e34c543d2c3551d9646479512263b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Wed, 25 Mar 2026 19:15:06 +0100 Subject: [PATCH] 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. --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 817a7166b4..4e22ea1b4c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: |