Normal-OJ / new-front-end

v2 client for Normal Online Judge
https://noj.tw
Mozilla Public License 2.0
0 stars 7 forks source link

Feat/upgrade node ts #167

Closed uier closed 3 months ago

uier commented 3 months ago

fix #164 #151

cloudflare-pages[bot] commented 3 months ago

Deploying nfe with  Cloudflare Pages  Cloudflare Pages

Latest commit: 549b052
Status: ✅  Deploy successful!
Preview URL: https://562071c5.nfe.pages.dev
Branch Preview URL: https://feat-upgrade-node-ts.nfe.pages.dev

View logs

uier commented 3 months ago

oh, seems the failing test can be reproduced on my local machine.

uier commented 3 months ago

127.0.0.1 -> localhost,原因不明,但此問題升級 node v20 後才發生 https://github.com/microsoft/playwright/issues/16834

uier commented 3 months ago

Upgrade node ver on Cloudflare (by changing env) before merging this into main

uier commented 3 months ago

based on https://developers.cloudflare.com/pages/configuration/language-support-and-tools/

Many common tools have been preinstalled in the Cloudflare Pages build environment.

, including pnpm (v8.7.1 at this time)

by setting a NODE_VERSION environment variable or by adding a .node-version