Merge pull request #1356 from moodle/create-pull-request/patch #2001
This file contains hidden or 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: "CI - Lint on push (project files)" | |
| on: | |
| push: | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "18" | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Lint markdown files | |
| run: yarn mdlint-all | |
| - name: Lint mdx files | |
| run: yarn mdxlint-all | |
| - name: Check spelling | |
| run: yarn spell |