Skip to content

sql type doc

sql type doc #988

Workflow file for this run

name: lint
on:
pull_request_target:
types: [ opened, synchronize, reopened ]
branches:
- '*'
workflow_dispatch:
jobs:
lint-docs:
name: Lint Docs
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Lint docs
uses: docker://avtodev/markdown-lint:v1 # fastest way
with:
config: './.markdownlint.yaml'
args: './docs/MatrixOne'
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install NodeJS Dependencies
run: npm ci
- name: Lint Chinese content
run: npm run lint