⬆️ update canvas

This commit is contained in:
platane
2025-02-20 18:01:08 +07:00
parent e55fe1f13c
commit 74bc4f0651
3 changed files with 1542 additions and 2215 deletions

View File

@@ -23,7 +23,7 @@ FROM node:20-slim
WORKDIR /action-release WORKDIR /action-release
RUN export YARN_CACHE_FOLDER="$(mktemp -d)" \ RUN export YARN_CACHE_FOLDER="$(mktemp -d)" \
&& yarn add canvas@2.11.2 gifsicle@5.3.0 --no-lockfile \ && yarn add canvas@3.1.0 gifsicle@5.3.0 --no-lockfile \
&& rm -r "$YARN_CACHE_FOLDER" && rm -r "$YARN_CACHE_FOLDER"
COPY --from=builder /app/packages/action/dist/ /action-release/ COPY --from=builder /app/packages/action/dist/ /action-release/

View File

@@ -4,7 +4,7 @@
"dependencies": { "dependencies": {
"@snk/draw": "1.0.0", "@snk/draw": "1.0.0",
"@snk/solver": "1.0.0", "@snk/solver": "1.0.0",
"canvas": "2.11.2", "canvas": "3.1.0",
"gif-encoder-2": "1.0.5", "gif-encoder-2": "1.0.5",
"gifsicle": "5.3.0", "gifsicle": "5.3.0",
"tmp": "0.2.3" "tmp": "0.2.3"

3753
yarn.lock

File diff suppressed because it is too large Load Diff