Skip to content

Switch release workflows from Yarn to npm - #203

Merged
aasimkhan30 merged 1 commit into
mainfrom
aasim/chore/npm-release-workflow
Jul 28, 2026
Merged

Switch release workflows from Yarn to npm#203
aasimkhan30 merged 1 commit into
mainfrom
aasim/chore/npm-release-workflow

Conversation

@aasimkhan30

Copy link
Copy Markdown
Collaborator

Summary

  • replace Yarn with npm across package scripts, CI, release automation, and publishing docs
  • add package-lock.json, use cached npm ci installs, and remove yarn.lock
  • modernize release creation with the GitHub CLI and deterministic package extraction
  • trigger automatic releases only for package.json changes on main, with an early exact-tag guard and manual dispatch retained

Validation

  • npm ci
  • npm run build
  • npm run lint
  • npm test
  • npm pack --dry-run

The install reports the repository's existing dependency audit findings: 1 moderate and 16 high vulnerabilities.

Use reproducible npm installs in CI and releases, modernize release creation, and run releases only for package changes on main.
@aasimkhan30 aasimkhan30 self-assigned this Jul 28, 2026
@aasimkhan30
aasimkhan30 merged commit eec5941 into main Jul 28, 2026
5 checks passed
@aasimkhan30
aasimkhan30 deleted the aasim/chore/npm-release-workflow branch July 28, 2026 00:30
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