Repository navigation
chore: Add a workflow for publishing the blocks package. - #33
Conversation
📝 WalkthroughWalkthrough📝 WalkthroughAdds a GitHub Actions workflow "Publish Package" that runs on published releases whose tag matches the pattern Sequence Diagram(s)mermaid Possibly related PRs
Suggested reviewers
Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-09-30T13:34:45.847ZApplied to files:
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #33 +/- ##
=======================================
Coverage 93.59% 93.59%
=======================================
Files 19 19
Lines 593 593
Branches 179 120 -59
=======================================
Hits 555 555
Misses 38 38 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a8cdd4a to
8f39708
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (1)
CONTRIBUTING.md(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-30T13:34:45.847Z
Learnt from: jamesbhobbs
PR: deepnote/deepnote#1
File: .husky/post-checkout:1-1
Timestamp: 2025-09-30T13:34:45.847Z
Learning: In the deepnote/deepnote repository, the .husky/post-checkout hook should remain minimal (just `pnpm install`) without explicit flags like `--frozen-lockfile` or guards. Explicit flags should only be used where needed, such as in CI workflows.
Applied to files:
CONTRIBUTING.md
It will publish the package when a release is created.
199cdd1 to
8e0301e
Compare
saltenasl
left a comment
There was a problem hiding this comment.
One suggestion for future-proofing this.
|
|
||
| 4. **Create a GitHub Release** (after the PR is merged): | ||
| - Go to [Releases](https://github.com/deepnote/deepnote/releases/new) | ||
| - Create a new tag (e.g., `v1.2.0`) in the release form |
There was a problem hiding this comment.
non-blocking, but we'll need to improve this to be package-scoped release versions e.g. @deepnote/blocks@1.2.3 once we have more packages that we publish in this monorepo.
I'm not sure if we're planning to have more than @deepnote/blocks package being published from this repo. If yes, I'd prefer we define the standard now and also update the publish workflow only to react to publishes of the package in question.
There was a problem hiding this comment.
We will probably want to include our CLI package (deepnote-convert or whatever we call it) in this monorepo, and have that published separately.
There was a problem hiding this comment.
@saltenasl I've updated the workflow to support multiple packages
cc91a54
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/publish.yml(1 hunks)CONTRIBUTING.md(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-30T13:34:45.847Z
Learnt from: jamesbhobbs
PR: deepnote/deepnote#1
File: .husky/post-checkout:1-1
Timestamp: 2025-09-30T13:34:45.847Z
Learning: In the deepnote/deepnote repository, the .husky/post-checkout hook should remain minimal (just `pnpm install`) without explicit flags like `--frozen-lockfile` or guards. Explicit flags should only be used where needed, such as in CI workflows.
Applied to files:
CONTRIBUTING.md
There was a problem hiding this comment.
Actionable comments posted: 4
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/publish.yml(1 hunks)CONTRIBUTING.md(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-30T13:34:45.847Z
Learnt from: jamesbhobbs
PR: deepnote/deepnote#1
File: .husky/post-checkout:1-1
Timestamp: 2025-09-30T13:34:45.847Z
Learning: In the deepnote/deepnote repository, the .husky/post-checkout hook should remain minimal (just `pnpm install`) without explicit flags like `--frozen-lockfile` or guards. Explicit flags should only be used where needed, such as in CI workflows.
Applied to files:
CONTRIBUTING.md
🔇 Additional comments (1)
CONTRIBUTING.md (1)
93-97: Good fix: return to repo root after bump.The extra cd back to repo root prevents path issues in subsequent git commands.
saltenasl
left a comment
There was a problem hiding this comment.
thanks, LGTM! We should consider auto releasing after the version bump PR is merged in the future to polish the DX even further
) esbuild 0.28.0 was in the advisory range (>=0.27.3 <0.28.1); both vite 8.0.16 and tsx 4.22.4 already allow 0.28.1, so pnpm update -r esbuild resolves it (also 0.25.10->0.25.12, out of range). No manifest change. esbuild no longer flagged by pnpm audit. Claude-Session: https://claude.ai/code/session_01HWrTgpQ6CZV7tbVCNib9Pi Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
It will publish the package when a release is created.
Summary by CodeRabbit
Chores
Documentation