@@ -22,24 +22,24 @@ jobs:
2222 provardx-ci-execution :
2323 strategy :
2424 matrix :
25- os : ${{ fromJSON(format('[{0}]', inputs.OS || '"ubuntu-latest" || "macos-latest"') ) }}
26- nodeversion : [18 ]
25+ os : ${{ fromJSON(inputs.OS && format('[{0}]', inputs.OS) || '[ "ubuntu-latest", "macos-latest"]' ) }}
26+ nodeversion : [20 ]
2727 runs-on : ${{ matrix.os }}
2828 steps :
2929 - uses : actions/checkout@v4
3030 - uses : actions/setup-node@v4
3131 with :
3232 node-version : ${{ matrix.nodeversion }}
3333 - name : ' Cache node_modules'
34- uses : actions/cache@v3
34+ uses : actions/cache@v4
3535 with :
3636 path : ${{ matrix.os == 'windows-latest' && 'C:\\Users\\runneradmin\\AppData\\Roaming\\npm-cache' || '~/.npm' }}
3737 key : ${{ runner.os }}-node-v${{ matrix.nodeversion }}-${{ hashFiles('**/package.json') }}
3838 restore-keys : |
3939 ${{ runner.os }}-node-v${{ matrix.nodeversion }}-
4040 - name : ' sf installation'
4141 run : |
42- npm install -g @salesforce/cli
42+ npm install -g @salesforce/cli
4343
4444 - name : Determine Branch Name
4545 if : matrix.os == 'windows-latest'
4949 } else {
5050 echo "BRANCH_NAME=$(echo $env:GITHUB_REF -replace 'refs/heads/', '')" | Out-File -FilePath $env:GITHUB_ENV -Append
5151 }
52-
52+
5353 - name : Determine Branch Name for Ubuntu/Mac
5454 if : matrix.os != 'windows-latest'
5555 run : |
@@ -88,23 +88,28 @@ jobs:
8888 token : ${{ secrets.PATUTILS }}
8989 - name : Utils build and link
9090 run : |
91- cd utils
92- yarn && yarn prepack
93- yarn link
91+ cd utils
92+ yarn && yarn prepack
93+ yarn link
9494 - name : Install Dependencies
9595 run : yarn
9696 - name : Link utils package
9797 run : yarn link @provartesting/provardx-plugins-utils
9898 - name : Build the project
9999 run : |
100- sf plugins link .
101- yarn prepack
100+ sf plugins link .
101+ yarn prepack
102+ - name : MCP smoke test
103+ timeout-minutes : 5
104+ env :
105+ PROVAR_DEV_WHITELIST_KEYS : ${{ secrets.PROVAR_DEV_WHITELIST_KEYS }}
106+ run : node scripts/mcp-smoke.cjs
102107 - name : Check out Regression repo
103108 uses : actions/checkout@v4
104109 with :
105- repository : ProvarTesting/ProvarRegression
110+ repository : ProvarTesting/provar-manager-regression
106111 path : ProvarRegression
107- ref : AnchalGoel
112+ ref : PM_Grid_AutomationPack
108113 token : ${{ secrets.PATREGRESSION }}
109114 - name : Change permissions
110115 run : |
@@ -119,7 +124,7 @@ jobs:
119124 sf plugins link .
120125 yarn run test:nuts
121126 - name : Archive NUTS results
122- uses : actions/upload-artifact@v3
127+ uses : actions/upload-artifact@v4
123128 with :
124129 name : nuts-report-${{ matrix.os }}
125130 path : mochawesome-report
0 commit comments