Skip to content

Commit

Permalink
actions: add mdv to replace Travis (#2139)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRalphson authored Feb 18, 2020
1 parent 2d6a180 commit 149e6be
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 9 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/validate-markdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: validate-markdown

# Author: @MikeRalphson
# Issue: https://github.com/OAI/OpenAPI-Specification/issues/2130

#
# This workflow validates files in the versions directory matching 3.*.md
# Versions before 3.0 are not validated, as they contain linking errors
# where it is not currently planned to go back and fix them
#

# run this on push to any branch and creation of pull-requests
on: [push, pull_request]

jobs:
mdv:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1 # checkout repo content
- uses: actions/setup-node@v1 # setup Node.js
with:
node-version: '12.x'
- name: Validate markdown
run: npx mdv versions/3.*.md

6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"schemas/*"
],
"dependencies": {},
"devDependencies": {
"mdv": "^1.0.7"
},
"devDependencies": {},
"keywords": [
"OpenAPI",
"OAS",
Expand Down

0 comments on commit 149e6be

Please sign in to comment.