Add more tests to ensure code quality and reliability #42
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 code style | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version-file: .nvmrc | |
- run: pnpm i --frozen-lockfile | |
- name: Checking format | |
run: pnpm run format:check | |
- name: Run lint | |
run: pnpm run lint |