0.0.6 • Published 3 years ago

@codelab-app/nx v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@currents/nx

NX plugin for running cypress tests on Currents.dev

Setup

Install @currents/nx

npm i --save-dev @currents/nx

Add currents target to your project configuration

{
// ...
"targets": {
  "currents": {
    "executor": "@currents/nx:currents",
    "options": {
      "cypressExecutor": "e2e" // target name that runs "@nrwl/cypress:cypress"
    }
  },
 "e2e": {
    "executor": "@nrwl/cypress:cypress",
    "options": {
      // ...
    },
    "configurations": {
      // ...
    }
  }
}
// ...

Run cypress tests, using Currents.dev as a dashboard

nx run project:currents --group nx --record --key <key> --ci-build-id hello-currents-nx

Example

See https://github.com/currents-dev/currents-nx-example for example integration