mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-23 07:17:00 -04:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -26,27 +26,55 @@ jobs:
|
||||
npm install -g @angular/cli
|
||||
cd ./wowup-electron
|
||||
npm i
|
||||
npm run electron:publish
|
||||
env:
|
||||
GH_TOKEN: $(GITHUB_TOKEN)
|
||||
|
||||
# - job: Windows
|
||||
# pool:
|
||||
# vmImage: 'windows-latest'
|
||||
# steps:
|
||||
# - task: NodeTool@0
|
||||
# inputs:
|
||||
# versionSpec: '10.x'
|
||||
# displayName: 'Install Node.js'
|
||||
- job: Windows
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
strategy:
|
||||
matrix:
|
||||
node_14_x:
|
||||
node_version: 14.x
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: $(node_version)
|
||||
displayName: 'Install Node.js'
|
||||
- script: |
|
||||
node -v
|
||||
npm install -g @angular/cli
|
||||
cd ./wowup-electron
|
||||
npm i
|
||||
npm run electron:publish
|
||||
env:
|
||||
GH_TOKEN: $(GITHUB_TOKEN)
|
||||
CSC_LINK: $(WINDOWS_CSC_LINK)
|
||||
CSC_KEY_PASSWORD: $(WINDOWS_CSC_KEY_PASSWORD)
|
||||
|
||||
# - job: macOS
|
||||
# pool:
|
||||
# vmImage: 'macOS-latest'
|
||||
# steps:
|
||||
# - task: NodeTool@0
|
||||
# inputs:
|
||||
# versionSpec: '10.x'
|
||||
# displayName: 'Install Node.js'
|
||||
# - script: |
|
||||
# npm install
|
||||
# npm run build
|
||||
# displayName: 'npm install and build'
|
||||
- job: MacOS
|
||||
pool:
|
||||
vmImage: 'macOS-latest'
|
||||
strategy:
|
||||
matrix:
|
||||
node_14_x:
|
||||
node_version: 14.x
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: $(node_version)
|
||||
displayName: 'Install Node.js'
|
||||
- script: |
|
||||
node -v
|
||||
npm install -g @angular/cli
|
||||
cd ./wowup-electron
|
||||
npm i
|
||||
npm run electron:publish
|
||||
env:
|
||||
GH_TOKEN: $(GITHUB_TOKEN)
|
||||
CSC_LINK: $(MACOS_CERT)
|
||||
CSC_KEY_PASSWORD: $(MACOS_CERT_PASSWORD)
|
||||
NOTARIZE_APPLE_ID: $(NOTARIZE_APPLE_ID)
|
||||
NOTARIZE_APPLE_PASSWORD: $(NOTARIZE_APPLE_PASSWORD)
|
||||
NOTARIZE_APPLE_TEAM_ID: $(NOTARIZE_APPLE_TEAM_ID)
|
||||
|
||||
Reference in New Issue
Block a user