Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.03 KB

DEPLOYMENT.md

File metadata and controls

49 lines (30 loc) · 1.03 KB

Deployment Guide

Materials worth reading

How to deploy

⚠️ Remember to run all the commands from the root directory of the repository!

  1. Run the following command to select the package to be released:
pnpm changeset
  1. Consume the changeset by running:
pnpm changeset version
  1. Verify all the package.json and CHANGELOG.md files that were changed by the previous command.

  2. Run pnpm build in root

  3. Run pnpm build in ./release/

  4. Commit changes

  5. Publish the packages by running:

# You might have to run this command twice if it fails to publish the `@synthetixio/synpress` package on the first run.
pnpm changeset publish

Tags

If you're running in prerelease mode, make sure you're also pushing the release tags to GitHub with:

git push --follow-tags
  1. Run pnpm build again

  2. Commit lockfile