Skip to content

Commit dd0315e

Browse files
committed
Disable Azure Pipelines CI for release branch
It is completely superfluous because the release pipeline runs the exact same CI template. Moreover, because it's a different Azure organization, the NPM authentication won't work without setting up and managing a service connection. Run the GitHub Actions CI with the Release configuration. Also run the NPM install scripts because sometimes it will break without them.
1 parent 91f1044 commit dd0315e

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/ci-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
- name: Build, test and package
6666
shell: pwsh
67-
run: Invoke-Build
67+
run: Invoke-Build -Configuration Release
6868
env:
6969
NPM_PASSWORD: ${{ secrets.AZURE_NPM_PASSWORD_BASE64}}
7070

.vsts-ci/azure-pipelines-ci.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: CI-$(Build.SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.rr)
22

3+
# NOTE: This was superceded by the GitHub Actions workflow.
34
pr: none
4-
5-
trigger:
6-
branches:
7-
include:
8-
- release
5+
trigger: none
96

107
variables:
118
# Don't download unneeded packages

vscode-powershell.build.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ task RestoreNodeModules -If { !(Test-Path ./node_modules) } {
2727
# When in a CI build use the --loglevel=error parameter so that
2828
# package install warnings don't cause PowerShell to throw up
2929
if ($env:CI -or $env:TF_BUILD) {
30-
Invoke-BuildExec { & npm ci --loglevel=error --ignore-scripts }
30+
Invoke-BuildExec { & npm ci --loglevel=error }
3131
} else {
3232
Invoke-BuildExec { & npm install }
3333
}

0 commit comments

Comments
 (0)