diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 859124aa6c..6465c1a882 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -51,10 +51,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 18 - cache: npm - cache-dependency-path: vscode-powershell/package-lock.json - registry-url: https://pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/registry/ - always-auth: true + # cache: npm + # cache-dependency-path: vscode-powershell/package-lock.json - name: Start X virtual framebuffer if: matrix.os == 'ubuntu-latest' @@ -64,7 +62,7 @@ jobs: shell: pwsh run: Invoke-Build env: - NODE_AUTH_TOKEN: ${{ secrets.AZURE_NPM_TOKEN }} + NPM_AUTH_TOKEN: ${{ secrets.AZURE_NPM_TOKEN }} - name: Upload build artifacts uses: actions/upload-artifact@v4 diff --git a/.npmrc b/.npmrc index 13dcd08416..2831f6cae4 100644 --- a/.npmrc +++ b/.npmrc @@ -1,5 +1,13 @@ ; We use Dependabot to update our packages, so we want to add without a prefix save-exact=true ; We download from a private feed during the release process +; begin auth token +//pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/registry/:username=powershell-rel +//pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/registry/:_password=${NPM_AUTH_TOKEN} +//pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/registry/:email=powershell-rel +//pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/:username=powershell-rel +//pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/:_password=${NPM_AUTH_TOKEN} +//pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/:email=powershell-rel +; end auth token registry=https://pkgs.dev.azure.com/powershell-rel/PowerShellEditorServices/_packaging/PSESFeed/npm/registry/ always-auth=true