Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions eng/common/pipelines/templates/jobs/eval-shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
npmrcPath: $(Build.SourcesDirectory)/.npmrc
registryUrl: https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-tools/npm/registry/

- script: npm install --global npm@11.11.1 --userconfig $(Build.SourcesDirectory)/.npmrc
displayName: 'Use npm 11.11.1'
Comment thread
helen229 marked this conversation as resolved.

# Installs vally-cli + its pinned copilot-sdk executor into node_modules.
- script: npm ci --userconfig $(Build.SourcesDirectory)/.npmrc
displayName: 'Install Vally CLI + copilot-sdk (pinned)'
Expand Down
3 changes: 2 additions & 1 deletion eng/common/scripts/eval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ prints a harmless `ExperimentalWarning`. Relative imports use explicit `.ts` spe
## Updating the Vally CLI version

1. Bump `@microsoft/vally-cli` in `package.json`.
2. Run `npm install` locally to refresh `package-lock.json`.
2. Run `npm install --global npm@11.11.1`, then `npm install --package-lock-only --registry https://registry.npmjs.org/` to refresh `package-lock.json`.
Comment thread
helen229 marked this conversation as resolved.
3. Commit both files in the same PR. The eval pipelines' path triggers include
`eng/common/scripts/eval/**`, so CI re-runs against the new version automatically.

Expand All @@ -40,6 +40,7 @@ Reproduce what CI does by installing from the same lockfile and invoking the loc

```sh
cd eng/common/scripts/eval
npm install --global npm@11.11.1
Comment thread
helen229 marked this conversation as resolved.
npm ci
cd ../../../..
./eng/common/scripts/eval/node_modules/.bin/vally lint .
Expand Down
Loading
Loading