Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85629854
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/build/update-emoji.js b/build/update-emoji.js
index 151a46cb3a..a1acc2ceb9 100644
--- a/build/update-emoji.js
+++ b/build/update-emoji.js
@@ -1,22 +1,26 @@
import fs from 'node:fs'
import emojis from '@kazvmoe-infra/unicode-emoji-json/data-by-group.json' with {
type: 'json',
}
Object.keys(emojis).map((k) => {
emojis[k].forEach((e) => {
delete e.unicode_version
delete e.emoji_version
delete e.skin_tone_support_unicode_version
})
})
const res = {}
Object.keys(emojis).forEach((k) => {
const groupId = k.replace('&', 'and').replaceAll(' ', '-').toLowerCase()
res[groupId] = emojis[k]
})
console.info('Updating emojis...')
-fs.writeFileSync('src/assets/emoji.json', JSON.stringify(res))
-console.info('Done.')
+try {
+ fs.writeFileSync('src/assets/emoji.json', JSON.stringify(res))
+ console.info('Done.')
+} catch (e) {
+ console.error('Failed updating emoji')
+}
diff --git a/docker/e2e/Dockerfile.e2e b/docker/e2e/Dockerfile.e2e
index cc7cbf6334..ef1780aaf5 100644
--- a/docker/e2e/Dockerfile.e2e
+++ b/docker/e2e/Dockerfile.e2e
@@ -1,20 +1,20 @@
FROM mcr.microsoft.com/playwright:v1.61.0-jammy
RUN npm install -g yarn@1.22.22
RUN adduser --system playwright --group --shell=/bin/bash
USER playwright
WORKDIR /app
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
COPY package.json yarn.lock ./
RUN yarn --frozen-lockfile
-COPY . .
+COPY --chown=playwright . .
ENV CI=1
CMD ["yarn", "e2e:pw"]
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Aug 9, 6:36 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1721332
Default Alt Text
(1 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment