Publish snapshot images to Google Cloud Storage as part of the reg-suit visual regression testing framework. This plugin (v0.14.4) handles uploading and fetching snapshot images from GCS buckets. It integrates with reg-suit's prepare command and uses Google Application Default Credentials for authentication. The plugin is part of the reg-suit ecosystem and is maintained by reg-viz. Key differentiator: seamless integration with reg-suit for visual regression workflows.
npm install reg-publish-gcs-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to configure the plugin with a GCS bucket and pathPrefix in reg-suit config.
Follow GCP ADC setup: https://cloud.google.com/docs/authentication/production
Verify bucket existence and permissions.
Upgrade to latest and use current config format.
Set appropriate lifecycle rules or use versioning.
Use Node.js 10 or later.
Ensure the key file path is correct and has read permissions.
Set GOOGLE_APPLICATION_CREDENTIALS environment variable or use a service account in GCP environment.
Use the correct bucket hostname or omit customUri.
Use lowercase letters, numbers, hyphens, and dots only (no underscores).