Skip to content
GitHub Actions for yarn with support for lerna
Branch: master
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.
Dockerfile
README.md
entrypoint.sh
license

README.md

GitHub Action for Yarn and Lerna

This Action is a light wrapper around yarn and lerna. It uses the circleci/node:10 image because it has git as a dependency which lerna needs.

Usage

workflow "Publish to npm" {
  on = "push"
  resolves = ["johno/actions-yarn@master-1"]
}

action "Filters for GitHub Actions" {
  uses = "actions/bin/filter@b2bea07"
  args = "branch master"
}

action "johno/actions-yarn@master" {
  uses = "johno/actions-yarn@master"
  needs = ["Filters for GitHub Actions"]
  args = "install"
}

action "johno/actions-yarn@master-1" {
  uses = "johno/actions-yarn@master"
  needs = ["johno/actions-yarn@master"]
  secrets = ["NPM_AUTH_TOKEN", "GITHUB_TOKEN"]
  args = "publish:ci"
}

Related

You can’t perform that action at this time.