Note: currently full releases are tied to the main comet-uswds
package.
- Create a new release branch in the form of
comet-uswds-release-[MAJOR.MINOR.PATCH]
- 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
- 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
- Create a new release branch in the form of
comet-data-viz-release-[MAJOR.MINOR.PATCH]
- Create a PR into main (should only include package.json and package-lock.json)
- Once approved, merge the PR into main
- Open a terminal on your local machine and navigate to the root of the project
- Run a build for the specific package (example below):
npm run build:comet-data-viz
- Publish the new package to NPM (example below):
npm run publish:comet-data-viz
- Verify no errors in the terminal
- Verify a new release is available on NPM