github actions for yarn
MIT License
Use yarn as workflow actions to enable the repository which need to use
yarn-only features such as workspaces
And with browsers environment support (Headless Chrome)
You can use this repository using published yarn packages:
workflow "Build and test on push" {
on = "push"
resolves = ["Unit Test"]
}
action "Install Dependencies" {
uses = "aquariuslt/node-browsers-github-actions@master"
runs = "yarn"
args = "install"
}
action "Unit Test" {
uses = "aquariuslt/node-browsers-github-actions@master"
needs = ["Install Dependencies"]
args = "test"
runs = "yarn"
}
docker://
SchemeSadly, I haven't see any success example on github official action repo .workflow
file use this scheme.
workflow "Build and test on push" {
on = "push"
resolves = ["Unit Test"]
}
action "Install Dependencies" {
uses = "docker://aquariuslt/node-10-browsers@master"
}
action "Unit Test" {
uses = "docker://aquariuslt/node-10-browsers@master"
needs = ["Install Dependencies"]
args = "test"
}
You can refer to my blog repo actions.