Skip to content

Commit 55a6f7c

Browse files
committed
Reorganize build and packages to allow for omitting dev tools
New requirements in our release pipeline require us to omit the installation of quite a few of our (optional) dev tools, as their post-install tasks reach out to the public NPM registry and so are blocked. By moving everything except `esbuild` and `vsce` to `optionalDependencies` (and reorganzing the build script) we can run the linter and tests outside of the secure container.
1 parent d69ee8a commit 55a6f7c

File tree

5 files changed

+339
-339
lines changed

5 files changed

+339
-339
lines changed

.pipelines/vscode-powershell-Official.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ parameters:
2727
variables:
2828
system.debug: ${{ parameters.debug }}
2929
BuildConfiguration: Release
30-
WindowsContainerImage: onebranch.azurecr.io/windows/ltsc2019/vse2022:latest
30+
WindowsContainerImage: onebranch.azurecr.io/windows/ltsc2022/vse2022:latest
3131

3232
resources:
3333
repositories:
@@ -50,6 +50,10 @@ extends:
5050
asyncSdl:
5151
enabled: true
5252
forStages: [build]
53+
featureFlags:
54+
WindowsHostVersion:
55+
Version: 2022
56+
Network: Netlock
5357
stages:
5458
- stage: build
5559
jobs:
@@ -75,10 +79,6 @@ extends:
7579
inputs:
7680
system: Custom
7781
customVersion: $(package.version)
78-
- task: UseNode@1
79-
displayName: Use Node 18.x
80-
inputs:
81-
version: 18.x
8282
- task: PowerShell@2
8383
displayName: Install PSResources
8484
inputs:
@@ -141,6 +141,7 @@ extends:
141141
project: PowerShellCore
142142
definition: 2905
143143
specificBuildWithTriggering: true
144+
branchName: refs/heads/main
144145
artifact: drop_release_github
145146
itemPattern: PowerShellEditorServices.zip
146147
- task: ExtractFiles@1

0 commit comments

Comments
 (0)