Skip to content

Commit f6f9f07

Browse files
committed
Use public CFS feed (#4980)
Partially reverts db4eb52.
1 parent 379bd41 commit f6f9f07

File tree

5 files changed

+962
-1398
lines changed

5 files changed

+962
-1398
lines changed

.github/dependabot.yml

-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
version: 2
2-
registries:
3-
npm-azure:
4-
type: npm-registry
5-
url: https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/npm/registry/
6-
username: powershell
7-
password: ${{ secrets.AZURE_NPM_PASSWORD }}
82
updates:
93
- package-ecosystem: npm
104
directory: "/"
11-
registries:
12-
- npm-azure
135
labels: [ ]
146
schedule:
157
interval: weekly

.github/workflows/ci-test.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,9 @@ jobs:
3737
uses: actions/setup-dotnet@v4
3838
with:
3939
cache: true
40-
cache-dependency-path: PowerShellEditorServices/**/packages.lock.json
40+
cache-dependency-path: PowerShellEditorServices/**/*.csproj
4141
global-json-file: PowerShellEditorServices/global.json
42-
43-
- name: Remove Azure Artifact Feed configurations
44-
shell: pwsh
45-
run: |
46-
Remove-Item -Force .npmrc
47-
Remove-Item test/mocks/BinaryModule/NuGet.Config
48-
Remove-Item ../PowerShellEditorServices/NuGet.Config
49-
working-directory: vscode-powershell
42+
config-file: PowerShellEditorServices/nuget.config
5043

5144
- name: Install PSResources
5245
shell: pwsh

.npmrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
; We use Dependabot to update our packages, so we want to add without a prefix
22
save-exact=true
33
; We download from a private feed during the release process
4-
registry=https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/npm/registry/
4+
registry=https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/npm/registry/
55
always-auth=true
6+
; We want the lockfile to reference the default registry
7+
replace-registry-host=npmjs

0 commit comments

Comments
 (0)