* Decode the write-only Percy token during CI builds.
()
| 92 | * Decode the write-only Percy token during CI builds. |
| 93 | */ |
| 94 | function decodePercyTokenForCi() { |
| 95 | if (isCiBuild()) { |
| 96 | process.env['PERCY_TOKEN'] = atob(process.env.PERCY_TOKEN_ENCODED || ''); |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * Override PERCY_* environment variables if passed via amp task parameters. |
no test coverage detected