A reg-suit plugin for fetching and publishing visual regression testing snapshot images to AWS S3. Current stable version is 0.14.4. It is part of the reg-suit ecosystem and is maintained by reg-viz. This plugin handles upload/download of snapshot artifacts to/from S3, with support for custom ACL, server-side encryption (SSE), KMS, custom domains, and path prefixes. It uses the AWS SDK v3 and integrates seamlessly with the reg-suit CLI via `reg-suit prepare -p publish-s3`. Key differentiators: S3-specific storage for visual regression reports, simple configuration, and support for standard S3 features.
npm install reg-publish-s3-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install reg-suit and this plugin, then run prepare command to set up S3 configuration interactively.
Attach a policy with the required actions to the role or user running reg-suit.
Set `enableACL` to false if you want to use bucket policies instead of ACLs.
Ensure only one version of AWS SDK is used. Use `sdkOptions` to pass v3 S3Client options.
Update your `sdkOptions` to use v3 config (e.g., region as string, credentials object).
Run `npm install @aws-sdk/client-s3` or ensure it is in your package.json.
Verify bucket name spelling and ensure bucket exists in the same region as configured.
Add s3:PutObject to the IAM policy attached to the execution role/user.