File tree Expand file tree Collapse file tree 2 files changed +81
-0
lines changed
Expand file tree Collapse file tree 2 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 7979 npm run lint
8080 displayName: 'Lint'
8181
82+ - job : Windows
83+ dependsOn : []
84+ pool :
85+ vmImage : ' windows-latest'
86+ strategy :
87+ matrix :
88+ node_18_x :
89+ node_version : 18.x
90+ steps :
91+ - task : NodeTool@0
92+ inputs :
93+ versionSpec : $(node_version)
94+ displayName : ' Install Node.js'
95+ - pwsh : |
96+ $includes = @'
97+ {
98+ 'target_defaults': {
99+ 'conditions': [
100+ ['OS=="win"', {
101+ 'msvs_settings': {
102+ 'VCCLCompilerTool': {
103+ 'AdditionalOptions': [
104+ '/Zi',
105+ '/FS'
106+ ],
107+ },
108+ 'VCLinkerTool': {
109+ 'AdditionalOptions': [
110+ '/profile'
111+ ]
112+ }
113+ }
114+ }]
115+ ]
116+ }
117+ }
118+ '@
119+
120+ if (!(Test-Path "~/.gyp")) {
121+ mkdir "~/.gyp"
122+ echo $includes > "~/.gyp/include.gypi"
123+ }
124+ displayName: Create include.gypi
125+ - script : |
126+ npm i
127+ displayName: 'Install dependencies and build'
128+
129+ - task : APIScan@2
130+ inputs :
131+ softwareFolder : $(Build.SourcesDirectory)\build\Release
132+ softwareName : " node-pty"
133+ softwareVersionNum : ' 1'
134+ isLargeApp : false
135+ toolVersion : ' Latest'
136+ displayName : Run ApiScan
137+ condition : succeeded()
138+ env :
139+ AzureServicesAuthConnectionString : $(apiscan-connectionstring)
140+
141+ - task : PublishSecurityAnalysisLogs@3
142+ inputs :
143+ ArtifactName : CodeAnalysisLogs
144+ ArtifactType : Container
145+ PublishProcessedResults : false
146+ AllTools : true
147+
148+ - task : TSAUpload@2
149+ inputs :
150+ GdnPublishTsaOnboard : true
151+ GdnPublishTsaConfigFile : ' $(Build.SourcesDirectory)\tsaoptions.json'
152+
82153- job : Release
83154 dependsOn :
84155 - Linux
Original file line number Diff line number Diff line change 1+ {
2+ "codebaseName" : " devdiv_microsoft_vscode_node_pty" ,
3+ "instanceUrl" : " https://devdiv.visualstudio.com/defaultcollection" ,
4+ "projectName" : " DevDiv" ,
5+ "areaPath" : " DevDiv\\ VS Code (compliance tracking only)\\ Visual Studio Code NPM Packages" ,
6+ "notificationAliases" : [
7+ 8+ 9+ ]
10+ }
You can’t perform that action at this time.
0 commit comments