docs(cn): translated code comments in keeping-components-pure into Ch… #2435
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: Site Lint / Heading ID check | |
on: | |
push: | |
branches: | |
- main # change this if your default branch is named differently | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint on node 20.x and ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Install deps and build (with cache) | |
uses: bahmutov/npm-install@v1.8.32 | |
- name: Lint codebase | |
run: yarn ci-check |