Used to better manage rush inside a workflow. Manages caching of packages to ensure speedy execution.
This action requires rush version 5.47.0 or newer.
Specifies the package manager used by your rush repository. Valid values are:
pnpm
(default)npm
yarn
If set to true
will run rush build
if rush install
completes successfully. The deafult value is false
Below example will work with pnpm
as the default package manager and will additionally run rush build
.
# .github/workflows/rush.yml
name: Rush Install
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Rush Install
uses: advancedcsg-open/actions-rush
with:
build: true
actions-rush is licensed under the MIT License. See the LICENSE file for more info.