docs: add qa badge #2
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: Quality Assurance | |
on: | |
- push | |
jobs: | |
test: | |
env: | |
PNPM_VERSION: '9.1.1' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: | | |
cwd: ./ | |
args: [--frozen-lockfile] | |
version: ${{ env.PNPM_VERSION }} | |
- name: Check code style | |
run: pnpm lint | |
- name: Check library build | |
run: pnpm build | |
- name: Run tests | |
run: pnpm test |