From db7424399e79a35814258b1b21ed669300669bfd Mon Sep 17 00:00:00 2001 From: mshanemc Date: Wed, 7 Aug 2024 13:07:33 -0500 Subject: [PATCH] ci: remove test folder to avoid a plugin running sfdx-core's NUTs --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9d619dbd8..8851d1ddd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,6 +44,8 @@ jobs: command: 'yarn test:nuts' os: ${{ matrix.os }} useCache: false + # remove the test folder for sfdx-core + preBuildCommands: 'rm -rf test' 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' secrets: inherit