salesforce-ci-integration

Featured

Configure Salesforce CI/CD with GitHub Actions, SFDX deployments, and Apex testing. Use when setting up automated testing, configuring CI pipelines for metadata deployment, or integrating Salesforce tests into your build process. Trigger with phrases like "salesforce CI", "salesforce GitHub Actions", "salesforce automated tests", "CI salesforce", "sfdx deploy CI".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Salesforce CI Integration ## Overview Set up CI/CD pipelines for Salesforce using GitHub Actions with JWT-based authentication, automated Apex testing, and metadata deployment. ## Prerequisites - GitHub repository with Actions enabled - Salesforce Connected App with JWT Bearer flow configured - RSA key pair (private key stored as GitHub Secret) - Scratch org or sandbox for test execution ## Instructions ### Step 1: Create GitHub Actions Workflow Create `.github/workflows/salesforce-ci.yml`: ```yaml name: Salesforce CI on: push: branches: [main, develop] pull_request: branches: [main] jobs: validate: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' - name: Install Salesforce CLI run: npm install -g @salesforce/cli - name: Authenticate to Salesforce (JWT) run: | echo "${{ secrets.SF_JWT_KEY }}" > server.key sf org login jwt \ --client-id ${{ secrets.SF_CLIENT_ID }} \ --jwt-key-file server.key \ --username ${{ secrets.SF_USERNAME }} \ --set-default \ --alias ci-org rm server.key - name: Validate Metadata Deployment (dry run) run: | sf project deploy start \ --target-org ci-org \ --dry-run \ --wait 30 - name: Run Apex Tests run: | ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category