Skip to content

Commit 78037a7

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 78037a7

File tree

4 files changed

+337
-337
lines changed

4 files changed

+337
-337
lines changed

.pipelines/vscode-powershell-Official.yml

Lines changed: 5 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:

0 commit comments

Comments
 (0)