ci: fix publish (#775)

This commit is contained in:
Trim21
2024-08-10 05:03:24 +08:00
committed by GitHub
parent 679af7ffb7
commit ee5f8372db
2 changed files with 9 additions and 7 deletions

View File

@@ -20,8 +20,10 @@ WORKDIR /usr/src/app/
# Copy project files
COPY . ./
RUN corepack enable && corepack install
# Fetch dependencies from npm
RUN pnpm install --frozen-lockfile --legacy-peer-deps
RUN pnpm install --frozen-lockfile
# Build assets
RUN npm run build