Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 800 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 800 Bytes

@nx-extend/gcp-task-runner

@nx-extend/gcp-storage NPM package

Nx plugin to use Cloud Storage as remote cache.

Setup

Install

npm install -D @nx-extend/gcp-task-runner

Usage

Enable task runner

Update your nx.json with the following

{
  "tasksRunnerOptions": {
    "default": {
      "runner": "@nx-extend/gcp-task-runner",
      "options": {
        "bucket": "gs://your-bucket",
        ...
      }
    }
  }
}

Authenticate

The task runner uses @google-cloud/storage which in turn is capable of using the env variable GOOGLE_APPLICATION_CREDENTIALS.