From 5c2660d5a84f008f7f44b73d0a116f1ab7ab6a11 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Mon, 6 Jan 2025 14:49:56 +0100 Subject: [PATCH] CI: Extract `PNPM_VERSION` env var --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 166eacc2..1f610f5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,8 @@ on: env: FORCE_COLOR: 1 + # renovate: datasource=npm depName=pnpm + PNPM_VERSION: 6.17.2 jobs: lint: @@ -26,7 +28,7 @@ jobs: - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 with: - version: 6.17.2 + version: ${{ env.PNPM_VERSION }} run_install: true - run: yarn lint @@ -47,7 +49,7 @@ jobs: - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 with: - version: 6.17.2 + version: ${{ env.PNPM_VERSION }} run_install: true - run: yarn test --coverage @@ -70,7 +72,7 @@ jobs: - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 with: - version: 6.17.2 + version: ${{ env.PNPM_VERSION }} run_install: true - run: npx auto-dist-tag@1 --write