Skip to content

Commit ae90917

Browse files
committed
đź”§ Update Node.js version to 20.18.0 and install Wrangler using latest version
1 parent 81bbcfc commit ae90917

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎.github/workflows/nextjs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install Node.js
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: "22"
30+
node-version: "20.18.0"
3131
cache: "pnpm"
3232

3333
- name: Install dependencies
@@ -40,9 +40,10 @@ jobs:
4040
run: pnpm run build
4141

4242
- name: Install Wrangler
43-
run: pnpm install -g wrangler
43+
run: pnpm add -g wrangler@latest
4444

4545
- name: Deploy Next.js app
4646
run: pnpm run deploy
4747
env:
4848
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
49+
NODE_OPTIONS: "--max-old-space-size=4096"

0 commit comments

Comments
 (0)