Skip to content

Nx Cloud Skipper

Actions
Run nx commands with fallback to --no-cloud if they fail
v1
Latest
Star (1)

Nx Cloud Skipper

GitHub Super-Linter Continuous Integration Check Transpiled JavaScript CodeQL Coverage

This action runs npx nx commands with automatic fallback to --no-cloud if they fail.

Basic usage

jobs:
  job_id:
    steps:
      - name: Check out Git repository
          uses: actions/checkout@v4

      - name: Setup NodeJS
        uses: actions/setup-node@v4

      - name: Install dependencies
        run: npm ci

    ...

      - name: Run CI on affected projects
        uses: robsonos/nx-cloud-skipper-action
        with:
          command: affected -t lint test build

The above will run npx nx affected -t lint test build and if the default errorMessages are found in the log it will run npx nx affected -t lint test build --no-cloud

Inputs

Name Description Required Default
command Arguments to pass to npx nx (e.g., affected -t lint test build) true
errorMessages Set the NX_BASE environment variable (optional) false Workspace is unable to be authorized
exceeding the FREE plan

Outputs

Name Description
status Status of the action (success/failure)

Nx Cloud Skipper 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 nx commands with fallback to --no-cloud if they fail
v1
Latest

Nx Cloud Skipper 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.