Skip to content

Commit

Permalink
CI: Extract PNPM_VERSION env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Jan 6, 2025
1 parent 4723d37 commit 5c2660d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:

env:
FORCE_COLOR: 1
# renovate: datasource=npm depName=pnpm
PNPM_VERSION: 6.17.2

jobs:
lint:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5c2660d

Please sign in to comment.