Files
howtheysre/.github/workflows/workflow.yml
2024-07-06 12:42:47 +08:00

27 lines
532 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: '16.x'
- name: Run Checklist
shell: 'cd test && script -q -e -c "bash {0}"'
run: npm ci && npx eslint . && npm run test