Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

Repository files navigation

logo

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.

Usage

  1. Set Scope DSN inside Settings > Secrets as SCOPE_DSN.
  2. Add a step to your GitHub Actions workflow YAML that uses this action:
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1with:
node-version: 12registry-url: https://registry.npmjs.org/
- name: Install dependenciesrun: npm install
- name: Scope for Javascriptuses: undefinedlabs/scope-for-javascript-action@v1with:
dsn: ${{secrets.SCOPE_DSN}} # requiredjest-command: npm test # optional - default is 'npm test'cypress-command: npm run cypress:run # optional - command to run cypress tests if your repository includes themcypress-endpoint: http://localhost:3000 # optional - URL to run the cypress tests against

About

Scope for Javascript and NodeJS GitHub action

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages