Skip to content

Commit dac1a65

Browse files
committed
Use corepack to link yarn into $VIRTUALENV/bin
1 parent fee2ed0 commit dac1a65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ skip-client: ## Run only the server, skipping the client build.
180180

181181
node-deps: ## Install NodeJS dependencies.
182182
ifndef YARN
183-
npm install -g yarn;
183+
corepack enable yarn;
184184
endif
185185
$(IN_VENV) yarn install $(YARN_INSTALL_OPTS)
186186

187187
client-node-deps: ## Install NodeJS dependencies for the client.
188188
ifndef YARN
189-
npm install -g yarn;
189+
corepack enable yarn;
190190
endif
191191
$(IN_VENV) cd client && yarn install $(YARN_INSTALL_OPTS)
192192

0 commit comments

Comments
 (0)