fix Enhancement error 753 #1066
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 punctuations | |
run: npm run lint |