Skip to content

Commit

Permalink
Maybe vercel's streaming doesn't support node 22?
Browse files Browse the repository at this point in the history
  • Loading branch information
s-h-a-d-o-w committed Nov 7, 2024
1 parent 3e5955f commit 2472c8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js 22
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- name: Install, test, deploy
run: |
pnpm install --frozen-lockfile
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ WORKDIR /app
# Building presumably already happened
COPY . .

RUN pnpm install --frozen-lockfile --ignore-scripts
# --ignore-scripts because of panda. The full source code is not included in the tarball and so panda would fail.
RUN pnpm install --ignore-scripts

ENV NODE_ENV production
ENV PORT 80
Expand Down

0 comments on commit 2472c8d

Please sign in to comment.