diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..5e65dbd --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,15 @@ +name: check +on: [push] +jobs: + markdownlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 12 + uses: actions/setup-node@v1 + with: + node-version: 12 + - name: Check *.md files by `markdownlint` + run: | + npm install -g markdownlint-cli + markdownlint *.md diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cdcb16d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js -node_js: 12 -jobs: - include: - - stage: markdownlint - script: - - npm install -g markdownlint-cli - - markdownlint *.md