Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions - Build and Test Package on PR #10

Merged
merged 3 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .github/workflows/apex-tests-pr.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Salesforce CI
name: Salesforce CI - Build and Test Package on PR

on:
workflow_dispatch:
inputs:
branch:
description: "Branch to run the tests on"
required: true
default: "main"
pull_request:
branches:
- main

jobs:
build:
Expand All @@ -19,9 +16,9 @@ jobs:

- name: Install Salesforce CLI
run: |
npm install sfdx-cli
node_modules/sfdx-cli/bin/run --version
node_modules/sfdx-cli/bin/run plugins --core
npm install --global sfdx-cli
sfdx --version
sfdx plugins --core

- name: Checkout repository
uses: actions/checkout@v2
Expand Down
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
Loading