@framers/sql-storage-adapter publishes through semantic-release and the workflow at .github/workflows/release.yml.
masteris the only release branch.- Each merge to
mastertriggers the workflow; semantic-release decides whether a release is required based on commit messages. - Commit messages must follow the Conventional Commits specification. Examples:
fix: correct sqlite fallback logic→ patch release.feat: add postgres connection pooling→ minor release.feat!: drop deprecated Sync APIor aBREAKING CHANGE:footer → major release.docs: update README→ no release (unless combined with breaking change).
- Installs dependencies (
pnpm install --no-frozen-lockfile). - Builds the package (
pnpm run build). - Runs
semantic-release, which:- Computes the next semantic version.
- Updates
CHANGELOG.mdautomatically. - Publishes the package to npm.
- Tags the commit (
vX.Y.Z) and creates a GitHub release with generated notes. - Commits
chore(release): X.Y.Z [skip ci]back tomastercontaining the changelog & package.json updates.
If no release-worthy commits are present since the previous tag, semantic-release exits without publishing.
Store the following under Settings → Secrets and variables → Actions:
NPM_TOKEN– npm automation token withpublishscope for@framers/sql-storage-adapter.
GITHUB_TOKEN is provided automatically by Actions for tagging and releases.
If you must run a release locally:
pnpm install
pnpm run build
npx semantic-release --dry-run # inspect
npx semantic-release # publishRun this only from a clean checkout of master with the same NPM_TOKEN available in the environment. The automated GitHub workflow should be preferred.