Add azure pipeline ci
This commit is contained in:
Родитель
ef75995855
Коммит
7e8faf7ff3
|
@ -1,4 +1,6 @@
|
|||
.vscode
|
||||
build
|
||||
.github
|
||||
lib/*.js.map
|
||||
lib/*.js
|
||||
!lib/*.min.js
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
name: $(Date:yyyyMMdd)$(Rev:.r)
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
pr: none
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
|
||||
jobs:
|
||||
- job:
|
||||
displayName: Compile
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: "14.x"
|
||||
|
||||
- script: npm install
|
||||
displayName: Install dependencies
|
||||
|
||||
- script: npm run compile
|
||||
displayName: Compile
|
Загрузка…
Ссылка в новой задаче