Skip to content

A Simple Action that uses `@bugsnag/source-maps` to upload sourcemaps from a Local Directory to Bugsnag

License

Notifications You must be signed in to change notification settings

ricado-group/bugsnag-sourcemaps-upload-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bugsnag Source Maps Upload Action

A Simple Action that uses @bugsnag/source-maps to upload sourcemaps from a Local Directory to Bugsnag

Inputs

apiKey

Required A Bugsnag API Key

directory

Required Path to the Directory containing Source Map Files (e.g. ./sourcemaps)

baseUrl

Required Base URL that JS Bundles are served from (can contain * wildcards - e.g. https://*.mydomain.com/js)

appVersion

Required The Version of the Application these Source Maps belong to (this should match the appVersion configured in your Notifier)

overwrite

Optional Whether to replace Source Maps uploaded with the same Version

Defaults to false

endpoint

Optional Customize the Upload Endpoint for Bugsnag On-Premise

Example Usage

uses: ricado-group/bugsnag-sourcemaps-upload-action@v1
with:
  apiKey: ${{ secrets.BUGSNAG_APIKEY }}
  directory: ./sourcemaps
  baseUrl: 'https://*.mydomain.com/js'
  appVersion: '1.0.0'
  overwrite: true

Stay Updated with Dependabot

Use Dependabot to update your GitHub Actions by creating a .github/dependabot.yml file:

version: 2
updates:
  # Maintain Dependencies for GitHub Actions
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "daily"

About

A Simple Action that uses `@bugsnag/source-maps` to upload sourcemaps from a Local Directory to Bugsnag

Resources

License

Stars

Watchers

Forks