CultureHQ / actions-yarn

GitHub actions wrapper for the yarn CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

GitHub actions wrapper for the yarn CLI

License:MIT License


Languages

Language:Shell 60.8%Language:Dockerfile 37.2%Language:Ruby 2.1%