ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
jobs:
- job: WebNodeModules
displayName: Web
pool:
name: 1es-ubuntu-22.04-x64
os: linux
timeoutInMinutes: 60
steps:
- template: ../common/checkout.yml@self
- task: NodeTool@0
inputs:
versionSource: fromFile
versionFilePath: .nvmrc
- template: ../distro/download-distro.yml@self
- task: AzureKeyVault@2
displayName: "Azure Key Vault: Get Secrets"
inputs:
azureSubscription: vscode-oss-build-secrets
KeyVaultName vscodeossbuildsecrets
node build/setupnpmregistry.ts $NPM_REGISTRY
and(succeeded() ne(variables 'none'))
Setup NPM Registry
../common/applysdkcanary.yml@self
mkdir p .build node build/azurepipelines/common/computeNodeModulesCacheKey.ts web $(node p process.arch) .build/packagelockhash
Prepare node_modules cache key
Cache@2
.build/node_modules_cache
NODE_MODULES_RESTORED
Restore node_modules cache
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true') ne(variables 'none'))
Setup NPM
npmAuthenticate@0
$(NPMRC_PATH)
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true') ne(variables 'none'))
Setup NPM Authentication
../common/foundrylocal.yml@self
prepare
Setup system services
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
for i in 1..5; do
npm ci break
if $i eq 5 ; then
echo "Npm install failed too many times"
exit 1
fi
echo "Npm install failed $i trying again"
done
Install dependencies
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
../common/foundrylocal.yml@self
install
node build/azurepipelines/common/checkNativeOptionalDeps.ts
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
Verify native optional dependency binaries
node build/azurepipelines/distro/mixinnpm.ts
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
Mixin distro node modules
and(succeeded() ne(variables.NODE_MODULES_RESTORED 'true'))
Create node_modules archive