Skip to content

Commit

Permalink
Update testCoreBundling.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiCanizales authored May 21, 2024
1 parent abb1c9b commit 8ac5740
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/testCoreBundling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ on:
inputs:
branch:
description: 'Set the branch to bundle core'
required: false
type: string
required: false
default: main
nodeVersion:
description: version of node to use. It's better to specify latest, lts/* or lts/-1 than to hardode numbers
type: string
default: lts/*
required: false
default: lts/*

jobs:
bundle:
Expand All @@ -35,6 +36,6 @@ jobs:
externalProjectGitUrl: ${{ matrix.externalProjectGitUrl }}
os: ${{ matrix.os }}
useCache: false
bundledBranch: ${{ github.ref_name }}
bundledBranch: ${{ github.ref_name || inputs.branch }}
preSwapCommands: 'yarn upgrade @jsforce/jsforce-node@latest; npx yarn-deduplicate; yarn install'
preExternalBuildCommands: 'shx rm -rf node_modules/@salesforce/core/node_modules/@jsforce/jsforce-node shx rm -rf node_modules/@salesforce/sf-plugins-core/node_modules/@salesforce/core node_modules/@salesforce/cli-plugins-testkit/node_modules/@salesforce/core node_modules/@salesforce/source-tracking/node_modules/@salesforce/core node_modules/@salesforce/source-deploy-retrieve/node_modules/@salesforce/core node_modules/@salesforce/apex-node/node_modules/@salesforce/core'

0 comments on commit 8ac5740

Please sign in to comment.