From db01c3da67b5c65d107466d7a841f7982455bc5b Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Oct 2026 17:00:20 -0700 Subject: [PATCH] Stop running tests in the Azure release pipeline The release build tried to install the test dependencies through a feed that only the root project was configured for, so the test runner's own install silently failed and the v2.9.0 release never reached publishing. Tests already run in CI on every pull request and in the bump workflow before the release PR is opened, so the release pipeline only needs to validate the tag and pack the package. Point npm at the package feed proxy for the pack step so it never reaches for the firewalled public registry. --- build/azure-pipelines/release.yml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/build/azure-pipelines/release.yml b/build/azure-pipelines/release.yml index 255cc8f..e950e8c 100644 --- a/build/azure-pipelines/release.yml +++ b/build/azure-pipelines/release.yml @@ -72,24 +72,6 @@ extends: version: "22.x" displayName: "Install Node.js" - - script: | - set -euo pipefail - cat > .npmrc << 'EOF' - registry=https://pkgs.dev.azure.com/devdiv/devdiv/_packaging/devdiv_PublicPackages/npm/registry/ - EOF - displayName: "Set up .npmrc" - - - task: npmAuthenticate@0 - inputs: - workingFile: .npmrc - displayName: "Authenticate npm" - - - script: npm install - displayName: "Install dependencies" - - - script: node ./test/runTests.js - displayName: "Run tests" - - script: | set -euo pipefail @@ -137,6 +119,8 @@ extends: echo "##vso[build.updatebuildnumber]$(Build.BuildNumber)-release.$package_version" name: publishCheck displayName: "Check tag and pack npm package" + env: + NPM_CONFIG_REGISTRY: https://packagefeedproxy.microsoft.io/npm/ - stage: Publish displayName: Publish to npmjs