try install yarn
Some checks failed
CI / build (ubuntu-latest) (push) Failing after 49s
CI / build (macos-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled

This commit is contained in:
2025-09-08 16:35:12 -05:00
parent 5d98ddc5d0
commit 68846af98a

View File

@@ -1,6 +1,7 @@
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", "");
core.addPath(path);