feat: add custom target #4
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.0.4' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
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 |