Skip to content

Commit

Permalink
WIP: Debug workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleejordan committed Feb 14, 2024
1 parent f9ba473 commit 40e91b5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 40e91b5

Please sign in to comment.