mirror of
https://github.com/upgundecha/howtheysre
synced 2026-01-02 23:38:01 +00:00
27 lines
532 B
YAML
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
|
|
|