mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Replace Azure DevOps CI workflow with GitHub Action.
This commit is contained in:
parent
3cd7457fb4
commit
c0f040e5c1
4 changed files with 6 additions and 53 deletions
2
.github/workflows/nodejs.yml
vendored
2
.github/workflows/nodejs.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: Node.js CI
|
||||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
.eslintignore
|
||||
.eslintrc.json
|
||||
example
|
||||
.github
|
||||
.markdownlint.json
|
||||
.nycrc.json
|
||||
.nyc_output
|
||||
.travis.yml
|
||||
.vscode
|
||||
azure-pipelines.yml
|
||||
coverage
|
||||
demo/*
|
||||
!demo/markdownlint-browser.js
|
||||
example
|
||||
lib-es3
|
||||
npm-debug.log
|
||||
test
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
> A Node.js style checker and lint tool for Markdown/CommonMark files.
|
||||
|
||||
[![npm version][npm-image]][npm-url]
|
||||
[![CI Status][devops-image]][devops-url]
|
||||
[![CI Status][ci-image]][ci-url]
|
||||
[![License][license-image]][license-url]
|
||||
|
||||
## Install
|
||||
|
@ -813,7 +813,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for more information.
|
|||
|
||||
[npm-image]: https://img.shields.io/npm/v/markdownlint.svg
|
||||
[npm-url]: https://www.npmjs.com/package/markdownlint
|
||||
[devops-image]: https://img.shields.io/azure-devops/build/DavidAnson/5b2bff85-0fe6-47b4-a561-fa87be89f032/1/master.svg?label=tests
|
||||
[devops-url]: https://dev.azure.com/DavidAnson/markdownlint-ci/_build/latest?definitionId=1&branchName=master
|
||||
[ci-image]: https://github.com/DavidAnson/markdownlint/workflows/CI/badge.svg?branch=master
|
||||
[ci-url]: https://github.com/DavidAnson/markdownlint/actions?query=branch%3Amaster
|
||||
[license-image]: https://img.shields.io/npm/l/markdownlint.svg
|
||||
[license-url]: https://opensource.org/licenses/MIT
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
# Azure DevOps Pipeline for Node.js
|
||||
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
linux_node_8:
|
||||
imageName: 'ubuntu-latest'
|
||||
node_version: 8.x
|
||||
linux_node_10:
|
||||
imageName: 'ubuntu-latest'
|
||||
node_version: 10.x
|
||||
linux_node_12:
|
||||
imageName: 'ubuntu-latest'
|
||||
node_version: 12.x
|
||||
macos_node_8:
|
||||
imageName: 'macos-latest'
|
||||
node_version: 8.x
|
||||
macos_node_10:
|
||||
imageName: 'macos-latest'
|
||||
node_version: 10.x
|
||||
macos_node_12:
|
||||
imageName: 'macos-latest'
|
||||
node_version: 12.x
|
||||
windows_node_8:
|
||||
imageName: 'windows-latest'
|
||||
node_version: 8.x
|
||||
windows_node_10:
|
||||
imageName: 'windows-latest'
|
||||
node_version: 10.x
|
||||
windows_node_12:
|
||||
imageName: 'windows-latest'
|
||||
node_version: 12.x
|
||||
|
||||
pool:
|
||||
vmImage: $(imageName)
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: $(node_version)
|
||||
displayName: 'Install Node.js'
|
||||
|
||||
- script: 'npm install --no-package-lock'
|
||||
displayName: 'Install Dependencies'
|
||||
|
||||
- script: 'npm run ci'
|
||||
displayName: 'Run Tests'
|
Loading…
Add table
Add a link
Reference in a new issue