Skip to content

Commit

Permalink
Use public CFS feed (#4980)
Browse files Browse the repository at this point in the history
Partially reverts db4eb52.
  • Loading branch information
andyleejordan committed Apr 26, 2024
1 parent 379bd41 commit f6f9f07
Show file tree
Hide file tree
Showing 5 changed files with 962 additions and 1,398 deletions.
8 changes: 0 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
version: 2
registries:
npm-azure:
type: npm-registry
url: https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/npm/registry/
username: powershell
password: ${{ secrets.AZURE_NPM_PASSWORD }}
updates:
- package-ecosystem: npm
directory: "/"
registries:
- npm-azure
labels: [ ]
schedule:
interval: weekly
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,9 @@ jobs:
uses: actions/setup-dotnet@v4
with:
cache: true
cache-dependency-path: PowerShellEditorServices/**/packages.lock.json
cache-dependency-path: PowerShellEditorServices/**/*.csproj
global-json-file: PowerShellEditorServices/global.json

- name: Remove Azure Artifact Feed configurations
shell: pwsh
run: |
Remove-Item -Force .npmrc
Remove-Item test/mocks/BinaryModule/NuGet.Config
Remove-Item ../PowerShellEditorServices/NuGet.Config
working-directory: vscode-powershell
config-file: PowerShellEditorServices/nuget.config

- name: Install PSResources
shell: pwsh
Expand Down
4 changes: 3 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
; 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
registry=https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/npm/registry/
registry=https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/npm/registry/
always-auth=true
; We want the lockfile to reference the default registry
replace-registry-host=npmjs
Loading

0 comments on commit f6f9f07

Please sign in to comment.