Skip to content

RushJS Helper

Actions
Run rush install if required and manage caching for optimal performance and incremental builds
v1.6.3
Latest
Star (3)

Rush Install Action

JavaScript Style Guide Commitizen friendly javscript-action status Quality Gate Status


Used to better manage rush inside a workflow. Manages caching of packages to ensure speedy execution.

Usage

Pre-requisites


This action requires rush version 5.47.0 or newer.

Inputs


package-manager

Specifies the package manager used by your rush repository. Valid values are:

  • pnpm (default)
  • npm
  • yarn

build

If set to true will run rush build if rush install completes successfully. The defult value is false

`working-directory

Optional parameter to specify the root directory relative to the root of the repository where rush is installed. The default value is .

NOTE: No prefixing with ./ is required.

Example


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

License

actions-rush is licensed under the MIT License. See the LICENSE file for more info.

FOSSA Status

RushJS Helper 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

Run rush install if required and manage caching for optimal performance and incremental builds
v1.6.3
Latest

RushJS Helper 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.