npm

@raegen/github-runner

0.1.5 • Public • Published

github-runner

NX Tasks runner for github actions

Usage

Dependency

github-runner uses @actions/cache for managing Actions Cache, and @actions/cache requires Github Runtime to be exposed.

The above action needs to be used prior to invoking nx command(s) using github-runner as tasks runner.

.github/workflows/[workflow].yml

- uses: crazy-max/ghaction-github-runtime@v2
- run: |
    nx run-many -t [target] --runner=github-runner

nx.json

{
   "tasksRunnerOptions": {
    "github-runner": {
      "runner": "@raegen/github-runner",
      "options": {
        "cacheableOperations": ["build"]
      }
    }
  },
}

or

$ nx [command] --runner=github-runner

Readme

Keywords

none

Package Sidebar

Install

npm i @raegen/github-runner

Weekly Downloads

84

Version

0.1.5

License

MIT

Unpacked Size

11.9 kB

Total Files

11

Last publish

Collaborators

  • raegen