Various minor improvements #582
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" | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: "main" | |
jobs: | |
code-quality: | |
if: github.event.pull_request.draft==false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: Setup workspace | |
- uses: pnpm/[email protected] | |
name: Setup pnpm | |
- uses: actions/setup-node@v3 | |
name: Setup node | |
id: node | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
cache-dependency-path: "pnpm-lock.yaml" | |
- run: pnpm install | |
name: Setup node_modules | |
- run: pnpm check-format | |
name: Format |