Skip to content

Commit be05d92

Browse files
committed
Fix pnpm install error in CI
1 parent a90c81c commit be05d92

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

ui-next/.npmrc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,4 @@ public-hoist-pattern[]=@mui/*
44
public-hoist-pattern[]=@use-gesture/*
55
public-hoist-pattern[]=@eslint/*
66
public-hoist-pattern[]=globals
7-
public-hoist-pattern[]=monaco-editor
8-
9-
# Pin the pnpm content-addressable store to a fixed location outside the
10-
# project so it doesn't appear as untracked files (especially in Docker).
11-
store-dir=/root/.pnpm-store
7+
public-hoist-pattern[]=monaco-editor

ui-next/docker-compose.snapshots.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ services:
1414
- app_modules:/app/node_modules
1515
environment:
1616
CI: "true"
17+
npm_config_store_dir: /root/.pnpm-store
1718
# Listen on all interfaces so the playwright service can reach it.
1819
command: >
1920
sh -c "corepack enable &&
@@ -45,6 +46,7 @@ services:
4546
condition: service_healthy
4647
environment:
4748
CI: "true"
49+
npm_config_store_dir: /root/.pnpm-store
4850
BASE_URL: http://localhost:1234
4951
# PLAYWRIGHT_FLAGS is set by the :update script to --update-snapshots.
5052
command: >

0 commit comments

Comments
 (0)