Skip to content

Commit

Permalink
Update testExternalProjects.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiCanizales authored May 29, 2024
1 parent 0af9f2a commit b204abd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/testExternalProjects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,19 @@ jobs:
repository: ${{ inputs.externalProjectGit }}
- name: Swap this dependency for the bundled version
run: |
yarn install --network-timeout 600000
yarn remove @salesforce/core
yarn add CristiCanizales/sfdx-core#${{ inputs.bundledBranch }}
yarn install --network-timeout 600000
- name: Bundle node_modules
run: |
yarn install --network-timeout 600000
yarn add -D esbuild@^0.19.5 esbuild-plugin-pino@^2.1.0 npm-dts@^1.3.12 esbuild-plugin-tsc@^0.4.0
yarn install --network-timeout 600000
working-directory: node_modules/@salesforce/core
- name: Update for bundling
run: node scripts/updateForBundling.js
working-directory: node_modules/@salesforce/core
- name: Generate Bundle
run: |
yarn install --network-timeout 600000
yarn build
node scripts/build.js
working-directory: node_modules/@salesforce/core
Expand All @@ -70,18 +68,19 @@ jobs:
run: |
cd node_modules/@salesforce
ls
- name: Yarn install
- name: Yarn deduplicate
run: |
npx yarn-deduplicate
yarn install --network-timeout 600000
- name: Retrieve Scripts
run: |
git clone https://github.com/forcedotcom/bundle-publish-scripts.git
- name: Update references for core bundle
run: |
node bundle-publish-scripts/scripts/updateForCoreBundle.js
- name: Run yarn install
uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main
- name: Update folder name
run: |
mv core core-bundle
working-directory: node_modules/@salesforce
- name: Remove scripts
run: rm -rf ./bundle-publish-scripts
- name: Build the external project (where the tests are)
Expand Down

0 comments on commit b204abd

Please sign in to comment.