Skip to content

Yarn CLI

Actions
Executes actions using the yarn CLI
v1.0.1
Latest
Star (8)

Deprecated - use actions/setup-node instead

GitHub Actions for yarn

Build Status

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:

on: push
name: Main
jobs:
  lint-and-test:
    name: Test
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Install
      uses: CultureHQ/actions-yarn@master
      with:
        args: install
    - name: Lint
      uses: CultureHQ/actions-yarn@master
      with:
        args: lint
    - name: Test
      uses: CultureHQ/actions-yarn@master
      with:
        args: test

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/CultureHQ/actions-yarn.

License

The code is available as open source under the terms of the MIT License.

Yarn CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Executes actions using the yarn CLI
v1.0.1
Latest

Yarn CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.