Skip to content
Open
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
20 changes: 16 additions & 4 deletions .github/workflows/CI_Execution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,26 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.nodeversion }}
- name: 'Disable Windows Defender real-time monitoring (CI speed)'
if: matrix.os == 'windows-latest'
shell: powershell
run: Set-MpPreference -DisableRealtimeMonitoring $true
- name: 'Cache node_modules'
uses: actions/cache@v5
with:
path: ${{ matrix.os == 'windows-latest' && 'C:\\Users\\runneradmin\\AppData\\Roaming\\npm-cache' || '~/.npm' }}
key: ${{ runner.os }}-node-v${{ matrix.nodeversion }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-v${{ matrix.nodeversion }}-
- name: 'Cache sf CLI (Windows)'
if: matrix.os == 'windows-latest'
uses: actions/cache@v5
id: cache-sf-cli
with:
path: C:\Users\runneradmin\AppData\Roaming\npm
key: sf-cli-windows-${{ hashFiles('package.json') }}
- name: 'sf installation'
if: steps.cache-sf-cli.outputs.cache-hit != 'true'
run: |
npm install -g @salesforce/cli

Expand Down Expand Up @@ -87,7 +99,7 @@ jobs:
let branchExists = false;
try {
await github.rest.repos.getBranch({
owner: 'ProvarTesting',
owner: 'ProvarTesting',
repo: 'provardx-plugins-utils',
branch: branch,
});
Expand Down Expand Up @@ -134,9 +146,9 @@ jobs:
- name: Change permissions
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
chmod 777 ./bin/run.js
chmod 777 ./bin/run.js
elif [ "$RUNNER_OS" == "macOS" ]; then
chmod 777 ./bin/run.js
chmod 777 ./bin/run.js
fi
shell: bash
- name: Execute NUTS
Expand All @@ -149,4 +161,4 @@ jobs:
with:
name: nuts-report-${{ matrix.os }}
path: mochawesome-report
if-no-files-found: warn
if-no-files-found: warn