docs: minor improvements #5111
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: Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, edited, reopened, synchronize] | |
branches: | |
- "**" | |
env: | |
NODE_OPTIONS: --max_old_space_size=10240 | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Workaround for GitHub Actions bug | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Setup node@22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install front-end dependencies | |
run: pnpm install | |
- name: Build front-end assets | |
run: pnpm run build | |
- name: Check | |
run: pnpm run lint |