Skip to content

Commit

Permalink
feat(core): update PNPM GH action setup to use v4 and pnpm version 9 (#…
Browse files Browse the repository at this point in the history
…27664)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

Newly generated `ci-workflow` setups should use the latest GH package +
v9 PNPM version

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

(cherry picked from commit 1a4e663)
  • Loading branch information
juristr authored and FrozenPandaz committed Sep 9, 2024
1 parent bb0e987 commit ef4b7f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docs/nx-cloud/tutorial/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ jobs:
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9

# This enables task distribution via Nx Cloud
# Run this command as early as possible, before dependencies are installed
Expand Down Expand Up @@ -208,9 +208,9 @@ jobs:
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9
# This enables task distribution via Nx Cloud
# Run this command as early as possible, before dependencies are installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9
# This enables task distribution via Nx Cloud
# Run this command as early as possible, before dependencies are installed
Expand Down Expand Up @@ -962,7 +962,7 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9
# This enables task distribution via Nx Cloud
# Run this command as early as possible, before dependencies are installed
Expand Down Expand Up @@ -2208,7 +2208,7 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9
# This enables task distribution via Nx Cloud
# Run this command as early as possible, before dependencies are installed
Expand Down Expand Up @@ -2255,7 +2255,7 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9
# This enables task distribution via Nx Cloud
# Run this command as early as possible, before dependencies are installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
<% if(packageManager == 'pnpm'){ %>
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9
<% } %>
<% if(packageManager == 'bun'){ %>
- uses: oven-sh/setup-bun@v1
Expand Down

0 comments on commit ef4b7f9

Please sign in to comment.