Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Set up CI with Azure Pipelines #20

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
jobs:
- job: testDtsCriticWithDt
pool:
vmImage: 'ubuntu-latest'
demands: npm

timeoutInMinutes: 360

steps:
- task: Npm@1
displayName: 'npm install'
inputs:
verbose: false

- script: 'npm run build'
displayName: 'Build dts-critic'

- script: 'rm -r node_modules/dts-critic && ln -s "$(pwd)" node_modules/dts-critic'
displayName: 'Replace dts-critic dependency'

- script: 'node node_modules/typescript/lib/tsc.js --project node_modules/dtslint-runner && node node_modules/dtslint-runner/bin/index.js --clone --onlyTestTsNext'
displayName: 'Run dtslint-runner'

pr:
- master
Loading