Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

CultureHQ/actions-yarn

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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.