From bdc8fab071167c029130cc0ad3035fab98f93482 Mon Sep 17 00:00:00 2001 From: Andrew Robonen Date: Tue, 5 Nov 2024 02:18:27 +0700 Subject: [PATCH] ci(repo): update ci pipeline (#48) * ci(repo): update ci pipeline * ci(repo): remove pnpm version from ci * ci(repo): make build and test single command * ci(repo): remove matrix tests --- .github/workflows/ci.yaml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 791c5d8..3dfd9c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,27 +3,31 @@ name: CI on: - pull_request -jobs: - test: - runs-on: ubuntu-latest +env: + NODE_VERSION: 22.x +jobs: + code-quality: + name: Code quality checks + runs-on: ubuntu-latest permissions: contents: read pull-requests: write - steps: - uses: actions/checkout@v4 - - name: Install Node - uses: actions/setup-node@v4 - with: - node-version: 20.x - - name: Install pnpm - uses: pnpm/action-setup@v3 + uses: pnpm/action-setup@v4 + with: + run_install: false + + - uses: actions/setup-node@v4 + with: + node-version: ${{ env.NODE_VERSION }} + cache: pnpm - name: Install dependencies run: pnpm install --frozen-lockfile - name: Test - run: pnpm run all:build && pnpm run all:test \ No newline at end of file + run: pnpm all:build && pnpm all:test \ No newline at end of file