Deprecated - use actions/setup-node
instead
This Action for yarn enables arbitrary actions with the yarn
command-line client. Uses the node 11 docker image as its base.
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
Bug reports and pull requests are welcome on GitHub at https://github.com/CultureHQ/actions-yarn.
The code is available as open source under the terms of the MIT License.