GitHub actions wrapper for the yarn CLI
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
bin
test
.dockerignore
Brewfile
Dockerfile
LICENSE
README.md Update README Dec 19, 2018
entrypoint.sh

README.md

GitHub Actions for yarn

This Action for yarn enables arbitrary actions with the yarn command-line client. Uses the node 11 docker image as its base.

Usage

An example workflow to lint and test:

workflow "Main" {
  on = "push"
  resolves = ["Lint", "Test"]
}

action "Install" {
  uses = "docker://culturehq/actions-yarn:latest"
  args = "install"
}

action "Lint" {
  needs = "Install"
  uses = "docker://culturehq/actions-yarn:latest"
  args = "lint"
}

action "Test" {
  needs = "Install"
  uses = "docker://culturehq/actions-yarn:latest"
  args = "test"
}