try install yarn
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user