From 6de7655be515541f97488fef3d6c672e6d2792c0 Mon Sep 17 00:00:00 2001 From: Angel Wang Date: Fri, 9 Oct 2026 22:57:34 -0400 Subject: [PATCH] feat: prerender in node instead of workerd for CI to work --- .tangled/workflows/deploy.yml | 3 +-- astro.config.mjs | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.tangled/workflows/deploy.yml b/.tangled/workflows/deploy.yml index 38eb502..3044072 100644 --- a/.tangled/workflows/deploy.yml +++ b/.tangled/workflows/deploy.yml @@ -8,13 +8,12 @@ image: "nixos" dependencies: - nodejs_26 - lilypond - - steam-run-free steps: - name: "install dependencies" command: npm ci - name: "build" - command: steam-run npm run build + command: npm run build - name: "deploy" command: "npx wrangler deploy --message \"$(git log -1 --pretty=%B)\"" environment: diff --git a/astro.config.mjs b/astro.config.mjs index e82c628..bf99baf 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -16,5 +16,7 @@ import cloudflare from '@astrojs/cloudflare'; export default defineConfig({ site: "https://angelcube.dev", integrations: [mdx(), lilypond(), preact()], - adapter: cloudflare() + adapter: cloudflare({ + prerenderEnvironment: "node", + }), }) \ No newline at end of file -- 2.51.2