docs: make code
in <SectionMessage>
look nicer (#4269)
#16062
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: ['push'] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
steps: | |
# Setup | |
- uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] # Uses version from package.json#packageManager | |
- name: Setup Node (using .node-version) | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
# Action | |
- name: Lint | |
run: pnpm lint |