fix: run yarn in root in version process

This commit is contained in:
Jacob Bolda
2020-07-27 11:14:04 -05:00
committed by GitHub
parent 1f504fe9cf
commit f34cb7f1e5

View File

@@ -15,7 +15,7 @@
"action": {
"path": "./github-action",
"manager": "javascript",
"preversion": ["yarn", "yarn build"],
"preversion": [{ "command": "yarn", "runFromRoot": true }, "yarn", "yarn build"],
"getPublishedVersion": "git tag v${ pkgFile.version } 2> OUT= || echo ${ pkgFile.version }",
"publish": [
"git tag v${ pkgFile.versionMajor } -f",