Skip to content

GitHub Action

Scope for Javascript

v1 Latest version
Use latest version

Scope for Javascript

Automatically instruments and runs your tests using the Scope Javascript agent


Copy and paste the following snippet into your .yml file.

- name: Scope for Javascript
  uses: undefinedlabs/scope-for-javascript-action@v1
Learn more about this action in undefinedlabs/scope-for-javascript-action
Choose a version


Scope for Javascript

GitHub Action to run your tests automatically instrumented with the Scope Javascript agent.

This works both for browser js and Node.js.

About Scope

Scope gives developers production-level visibility on every test for every app – spanning mobile, monoliths, and microservices.


  1. Set Scope DSN inside Settings > Secrets as SCOPE_DSN.
  2. Add a step to your GitHub Actions workflow YAML that uses this action:
  - uses: actions/checkout@v1
  - uses: actions/setup-node@v1
      node-version: 12
  - name: Install dependencies
    run: npm install
  - name: Scope for Javascript
    uses: undefinedlabs/scope-for-javascript-action@v1
      dsn: ${{secrets.SCOPE_DSN}} # required
      jest-command: npm test # optional - default is 'npm test'
      cypress-command: npm run cypress:run # optional - command to run cypress tests if your repository includes them
      cypress-endpoint: http://localhost:3000 # optional - URL to run the cypress tests against
You can’t perform that action at this time.