A Simple Action that uses @bugsnag/source-maps
to upload sourcemaps from a Local Directory to Bugsnag
Required A Bugsnag API Key
Required Path to the Directory containing Source Map Files (e.g. ./sourcemaps)
Required Base URL that JS Bundles are served from (can contain * wildcards - e.g. https://*.mydomain.com/js)
Required The Version of the Application these Source Maps belong to (this should match the appVersion
configured in your Notifier)
Optional Whether to replace Source Maps uploaded with the same Version
Defaults to false
Optional Customize the Upload Endpoint for Bugsnag On-Premise
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
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"