Skip to content

Commit

Permalink
Merge pull request #10 from nylas/fix-package-version
Browse files Browse the repository at this point in the history
Github Actions - Build and Test Package on PR
  • Loading branch information
LincolnRychecky authored Aug 22, 2024
2 parents 350ff8f + 7cdfc5f commit d224c7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
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"
}

0 comments on commit d224c7b

Please sign in to comment.