Participate Page #46
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: Code Quality | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
quality-checks: | |
name: Quality Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Setup Node.js environment | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version-file: package.json | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run ESLint | |
run: pnpm lint | |
- name: Check types | |
run: pnpm type-check | |
- name: Build with VitePress | |
run: pnpm build |