/bugsnag-sourcemaps-upload-action

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

Primary LanguageTypeScriptMIT LicenseMIT

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"