Skip to content

fix(ci): pnpm setup ordering#899

Open
ssynowiec wants to merge 5 commits into
Solvro:mainfrom
ssynowiec:fix/pnpm
Open

fix(ci): pnpm setup ordering#899
ssynowiec wants to merge 5 commits into
Solvro:mainfrom
ssynowiec:fix/pnpm

Conversation

@ssynowiec
Copy link
Copy Markdown
Member

@ssynowiec ssynowiec commented May 7, 2026

inicjalizuje setup pnpm-a przed setupem node-a

@ssynowiec ssynowiec linked an issue May 11, 2026 that may be closed by this pull request
@ssynowiec ssynowiec self-assigned this May 11, 2026
@ssynowiec ssynowiec added bug github actions Pull requests that update GitHub Actions code labels May 11, 2026
@ssynowiec ssynowiec requested a review from kguzek May 11, 2026 20:57
Comment thread src/cli/templates/node-setup-ci.ts Outdated
with:
fetch-depth: 0

${manager.name === "pnpm" ? `${pnpmSetupCi({ pnpmVersion })}\n` : ""}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tak jak wspominałem, przetestowałym na nowym projekcie i w miejscu pnpm setup jest teraz podwójny newline

Image

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wciąż nie wiem jak to testować pnpm'em (npm działa) 😅 ale poszedł fix

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wciąż nie wiem jak to testować pnpm'em (npm działa) 😅 ale poszedł fix

https://pnpm.io/cli/link

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dobra, doczytałem. Cały czas używałem pnpx i ponoć on zawsze pobiera z https://registry.npmjs.org/ najnowszą wersję a pnpm exec bierze z lokalnego link'a 😅

@ssynowiec ssynowiec requested a review from a team as a code owner May 12, 2026 14:50
Comment thread src/cli/templates/node-setup-ci.ts Outdated
Copy link
Copy Markdown
Member

@kguzek kguzek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

już ostatnia przypierdolka 🥰

uses: pnpm/action-setup@v4
with:
version: ${pnpmVersion}`;
version: ${pnpmVersion}\n`;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mega nitpick ale w innych plikach templatów ci nie używamy \n tylko dosłownie wstawiamy newline 😭

Suggested change
version: ${pnpmVersion}\n`;
version: ${pnpmVersion}
`;

(możesz kliknąć apply suggestion)

@kguzek kguzek changed the title fix: setup pnpm before setup pnpm node cache fix(ci): pnpm setup ordering May 12, 2026
@kguzek kguzek removed the bug label May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github actions Pull requests that update GitHub Actions code size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

błędna konfiguracja github actions dla pnpm

2 participants