accept failure in emoji updating script
This commit is contained in:
parent
e4872d1bb5
commit
6e0f7c017f
2 changed files with 7 additions and 3 deletions
|
|
@ -18,5 +18,9 @@ Object.keys(emojis).forEach((k) => {
|
||||||
})
|
})
|
||||||
|
|
||||||
console.info('Updating emojis...')
|
console.info('Updating emojis...')
|
||||||
fs.writeFileSync('src/assets/emoji.json', JSON.stringify(res))
|
try {
|
||||||
console.info('Done.')
|
fs.writeFileSync('src/assets/emoji.json', JSON.stringify(res))
|
||||||
|
console.info('Done.')
|
||||||
|
} catch (e) {
|
||||||
|
console.error('Failed updating emoji')
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
RUN yarn --frozen-lockfile
|
RUN yarn --frozen-lockfile
|
||||||
|
|
||||||
COPY . .
|
COPY --chown=playwright . .
|
||||||
|
|
||||||
ENV CI=1
|
ENV CI=1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue