Skip to content

ci: add automated package deployment to npm#99

Merged
bntvllnt merged 6 commits intomainfrom
ci/auto-deploy
Mar 10, 2026
Merged

ci: add automated package deployment to npm#99
bntvllnt merged 6 commits intomainfrom
ci/auto-deploy

Conversation

@bntvllnt
Copy link
Collaborator

@bntvllnt bntvllnt commented Mar 9, 2026

Summary

  • CI workflow (ci.yml): runs lint → typecheck → build → test on every PR to main
  • Canary workflow (canary.yml): auto-publishes @vllnt/ui@canary on every main merge touching packages/ui/
  • Release workflow (release.yml): manual dispatch (patch/minor/major) — bumps version, generates changelog, publishes @vllnt/ui@latest, creates GitHub Release
  • publishConfig: updated to target public npm registry

Pre-requisite (manual)

  1. Create @vllnt scope on npmjs.com (if not exists)
  2. Generate granular access token on npmjs.com (read+write on @vllnt/ui)
  3. Add NPM_TOKEN secret in repo Settings → Secrets → Actions

Install channels (after setup)

pnpm add @vllnt/ui          # latest stable
pnpm add @vllnt/ui@canary   # latest from main

Test plan

  • Open PR → CI workflow triggers, all 4 gates pass
  • Merge PR touching packages/ui/ → canary workflow publishes @vllnt/ui@canary
  • Run release workflow (dispatch, bump=patch) → version bumped, tag created, GitHub Release + npm publish

@vercel
Copy link

vercel bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ui.vllnt.com Ready Ready Preview, Comment Mar 9, 2026 10:26pm

Request Review

- Fix ajv override breaking eslint (needs v6, override forced v8)
- Fix minimatch override breaking eslint-plugin-react (needs v3, override forced v10)
- Use tsconfig.build.json for typecheck (excludes visual test stubs)
- Make lint non-blocking until 28 pre-existing errors are resolved
- Add dist/** to turbo build outputs for @vllnt/ui cache
…king

- Use useMounted() hook (useSyncExternalStore) for hydration patterns
- Defer synchronous setState in effects via requestAnimationFrame
- Convert while loop to recursion in findScrollableParent
- Move JSX outside try/catch in mdx-content
- Replace deprecated FormEvent with SyntheticEvent
- Add max-lines-per-function eslint overrides for components/hooks
- Remove continue-on-error from lint step in CI and publish workflows
@bntvllnt bntvllnt merged commit bbdcaf4 into main Mar 10, 2026
3 checks passed
@bntvllnt bntvllnt deleted the ci/auto-deploy branch March 10, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant