1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

ci:screens - turn on repeat in walkthrough gif

This commit is contained in:
kumavis 2018-04-02 15:51:00 -07:00
parent eb7bafc914
commit d5a88cdc00

View File

@ -208,7 +208,7 @@ async function captureAllScreens() {
// read only the english pngs into gif
const encoder = new GIFEncoder(size.width, size.height)
const stream = pngFileStream('./test-artifacts/screens/* (en).png')
.pipe(encoder.createWriteStream({ repeat: -1, delay: 1000, quality: 10 }))
.pipe(encoder.createWriteStream({ repeat: 0, delay: 1000, quality: 10 }))
.pipe(fs.createWriteStream('./test-artifacts/screens/walkthrough (en).gif'))
// wait for end