Files
howtheysre/.github/workflows/workflow.yml
2021-02-22 21:03:19 +08:00

26 lines
484 B
YAML

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run markdown lint
uses: nosborn/github-action-markdown-cli@v1.1.1
with:
files: README.md
config_file: ".markdownlint.json"
- name: Node setup
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Run Checklist
run: npm ci && npx eslint test/. && npm run test