Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
fuko
/
trytanstackdb.com
Pull requests
fuko
trytanstackdb.com
Public
Synced with GitHub
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
CI
Agents
Settings
Fix the pnpm setup step of Source CI
#100003
(GitHub #53)
Send to my agent
Merged
fuko
merged 1 commit into
v2
from
fix-ci-pnpm-setup
·
merged by
fuko
2 weeks ago
View on GitHub
Conversation
2
Commits
1
Files changed
1
Impact
Showing
1 changed file
with
3 additions
and
2 deletions
.
x
0 of 1 viewed, 1 left
Files
Hide whitespace
Unified
Split
3 additions and 2 deletions
+3
-2
.source/workflows/ci.ts
Modified
Diff
Before/After
Viewed
.source/workflows/ci.ts
View file
@@ -1,10 +1,11 @@
1
1
import
{ defineWorkflow, pullRequest, push }
from
"@tanstack-source/ci"
;
2
2
3
3
// `setup.pnpm()` reads only the top-level `packageManager` field, but this
4
-
// project names its pnpm in `devEngines.packageManager`.
4
+
// project names its pnpm in `devEngines.packageManager`. The CI image already
5
+
// has a pnpm, so `--force` replaces its `pnpm`/`pnpx` binaries.
5
6
const
setupPnpm = {
6
7
name
:
"Set up pnpm"
,
7
-
run
:
`npm install --global "pnpm@$(node -p 'require("./package.json").devEngines.packageManager.version')"`
,
8
+
run
:
`npm install --global --force "pnpm@$(node -p 'require("./package.json").devEngines.packageManager.version')"`
,
8
9
};
9
10
const
install = {
name
:
"Install"
,
run
:
"pnpm install --frozen-lockfile"
};
10
11
Expand down
Show all lines
Home
Search
Explore
Menu