Skip to content
StackDecode
AdvancedLesson 32 of 37

CI/CD and packaging

Ship changes reliably.

  • Branch per feature, pull request, automated validate-only deploy with tests, then deploy.
  • DevOps Center gives a point-and-click pipeline on top of git; GitHub Actions, GitLab CI and Jenkins are common.
  • Packaging: unlocked packages and 2nd-generation managed packages (AppExchange) version and modularise your metadata.
  • Promote through sandboxes: dev, QA, UAT, production.
bash
sf project deploy validate --source-dir force-app --test-level RunLocalTests
sf project deploy start --source-dir force-app --test-level RunLocalTests