Note: packages are published to NPM using automated GitHub Actions. See below for steps to publish each package.
- Determine the next appropriate semantic version for the release
- Create a new release branch in the form of
comet-uswds-release-[MAJOR.MINOR.PATCH] - Update the version in the comet-uswds package.json
- Run an npm install (from the root)
- Commit changes and create a PR into main (should only include package.json and package-lock.json)
- Once approved, merge the PR into main
- Navigate to the Releases GitHub page and create a new Draft release
- Set tag and title to the version number (ex: 3.8.1)
- Click the Generate release notes button (update as needed)
- Click Save draft
- Publish when ready
- Verify the Publish Package GitHub Action completes correctly
- Verify a new release is available in NPM
- Determine the next appropriate semantic version for the release
- Create a new release branch in the form of
comet-data-viz-release-[MAJOR.MINOR.PATCH] - Update the version in the appropriate package.json
- Run an npm install (from the root)
- Commit changes and create a PR into main (should only include package.json and package-lock.json)
- Once approved, merge the PR into main
- Navigate to the Actions GitHub page and click Publish Package from the left
- Click the Run workflow dropdown, select the package to publish, and click Run workflow
- Verify the Publish Package GitHub Action completes correctly
- Verify a new release is available in NPM