mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Try a thing
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -61,6 +61,7 @@ import * as semver from "semver";
|
||||
let hasChangesets = fs
|
||||
.readdirSync(`${process.cwd()}/.changeset`)
|
||||
.some(x => x !== "config.json" && x !== "config.js" && x !== "README.md");
|
||||
console.log({ hasChangesets });
|
||||
let publishScript = core.getInput("publish");
|
||||
|
||||
if (!hasChangesets && !publishScript) {
|
||||
|
||||
Reference in New Issue
Block a user