From b175fc8e0cb2ee21574aca4d517c1e22026441a6 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Tue, 9 Sep 2025 09:20:29 -0500 Subject: [PATCH] try npx call yarn --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 971c318..6e16199 100644 --- a/src/index.js +++ b/src/index.js @@ -2,6 +2,6 @@ const { execSync } = require("child_process"); const core = require("@actions/core"); const version = core.getInput("lix-version"); execSync("npm install -g yarn"); -execSync("yarn global add lix" + (version ? `@${version}` : "")); -const path = execSync("yarn global bin").toString().replaceAll("\n", ""); +execSync("npx yarn global add lix" + (version ? `@${version}` : "")); +const path = execSync("npx yarn global bin").toString().replaceAll("\n", ""); core.addPath(path);