github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/.github/workflows/docs_lint.yaml (about) 1 name: Design Docs Lint 2 3 on: 4 pull_request: 5 branches: 6 - master 7 paths: 8 - 'docs/**' 9 10 # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. 11 concurrency: 12 group: ${{ github.ref }}-${{ github.workflow }} 13 cancel-in-progress: true 14 15 jobs: 16 design-docs-lint: 17 strategy: 18 matrix: 19 node-version: [12.x] 20 os: [ubuntu-latest] 21 22 runs-on: ${{ matrix.os }} 23 24 defaults: 25 run: 26 working-directory: ./docs 27 28 steps: 29 - uses: actions/checkout@v2 30 - name: Use Node.js ${{ matrix.node-version }} 31 uses: actions/setup-node@v1 32 with: 33 node-version: ${{ matrix.node-version }} 34 - run: npm ci 35 - run: npm run lint