Skip to content

Commit

Permalink
full path to SFDX installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincoln Rychecky authored and Lincoln Rychecky committed Aug 22, 2024
1 parent 77ad8cb commit 6e07d8a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/apex-tests-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
fi
- name: Authenticate to Dev Hub
run: sfdx auth:sfdxurl:store -f ./DEVHUB_SFDX_URL.txt -a devhub -d
run: node_modules/.bin/sfdx auth:sfdxurl:store -f ./DEVHUB_SFDX_URL.txt -a devhub -d

- name: Create Scratch Org
run: sfdx force:org:create -s -f config/project-scratch-def.json -a MyScratchOrg
run: node_modules/.bin/sfdx force:org:create -s -f config/project-scratch-def.json -a MyScratchOrg

- name: Push Source to Scratch Org
run: sfdx force:source:push -u MyScratchOrg
run: node_modules/.bin/sfdx force:source:push -u MyScratchOrg

- name: Run Apex Tests
run: sfdx force:apex:test:run -u MyScratchOrg --wait 10 --resultformat human --codecoverage
run: node_modules/.bin/sfdx force:apex:test:run -u MyScratchOrg --wait 10 --resultformat human --codecoverage
3 changes: 2 additions & 1 deletion .sf/config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"target-org": "Nylas_SDK_ORG"
"target-org": "Nylas_SDK_ORG",
"target-dev-hub": "DevHub"
}
1 change: 1 addition & 0 deletions DEVHUB_SFDX_URL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
force://PlatformCLI::5Aep861E3ECfhV22nbqgDemgp_R0Jhi1mx3I0rli81yyHC6GlT.k3kwAvAUJuwLEMIMXxpW5LJdYervzYJPJCJo@nylas.my.salesforce.com

0 comments on commit 6e07d8a

Please sign in to comment.