From 3d0f7aa76785ff92991ba28d570798cbc81f7676 Mon Sep 17 00:00:00 2001 From: mishamyrt Date: Sat, 20 Apr 2024 00:00:05 +0300 Subject: [PATCH] ci: add qa --- .github/workflows/qa.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/qa.yaml diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml new file mode 100644 index 0000000..ae06272 --- /dev/null +++ b/.github/workflows/qa.yaml @@ -0,0 +1,30 @@ +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 \ No newline at end of file