prisma / docs

📚 Prisma Documentation
https://www.prisma.io/docs
Apache License 2.0
979 stars 771 forks source link

Upgrade Percy (snapshot tool) since the current version is deprecated. #2665

Closed Jolg42 closed 1 year ago

Jolg42 commented 2 years ago

Example: https://percy.io/6faef5e0/prisma-docs/builds/14820015/changed/837405415

Heads up! The SDK used in this build is deprecated and no longer supported. You can find SDK instructions to upgrade your SDK here. https://docs.percy.io/docs/migrating-to-percy-cli

Screen Shot 2022-01-04 at 17 45 12

See for Gatsby plugin https://github.com/percy/gatsby-plugin-percy#upgrading

Looks like we could upgrade by following the steps mentioned in these links ⬆️

peterondesign commented 2 years ago

Thanks for spotting this @Jolg42. I assume we should also use the Gatsby plugin for the website build?

Jolg42 commented 2 years ago

@peterondesign so the https://github.com/prisma/website-v8 is built using Next.js and I don't know what would be the setup.

Robdel12 commented 2 years ago

Hey everyone! Percy dev here -- I'd totally recommend using the snapshot CLI command: https://docs.percy.io/docs/percy-snapshot#getting-started you can get pretty far with it as it's fairly flexible.