Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9
version: 10
- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-and-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9
version: 10
- uses: actions/setup-node@v4
with:
node-version-file: "package.json"
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ WORKDIR /workspace
RUN apk add --update --no-cache openssl python3 make g++
# Install pnpm.
ADD package.json .
# needed due
# - https://github.com/pnpm/pnpm/issues/9014#issuecomment-2618565344
# - https://github.com/nodejs/corepack/issues/612
RUN npm install --global corepack@latest
RUN corepack enable && corepack prepare --activate
# Skip prisma code generation during install.
ENV PRISMA_SKIP_POSTINSTALL_GENERATE=true
Expand All @@ -29,7 +33,7 @@ RUN \
# Build the server.
pnpm --filter server build && \
# Create an isolated deployment for the server.
pnpm --filter server deploy --prod deployment && \
pnpm --filter server deploy --prod deployment --legacy && \
# Move the runtime build artifacts into a separate directory.
mkdir -p deployment/out && mv deployment/dist deployment/prisma deployment/node_modules deployment/package.json deployment/out && \
# Generate the prisma client
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"type": "module",
"packageManager": "pnpm@9.15.4",
"packageManager": "pnpm@10.4.1",
"scripts": {
"clean": "node scripts/clean.mjs",
"build": "tsc -b tsconfig.build.json && pnpm --recursive --parallel --filter \"./packages/*\" run build",
Expand Down
Loading