Skip to content

Commit b2cb41f

Browse files
igorvieiraclaude
andcommitted
fix: fix build by updating sitemap, RSS handler, and switching to bun
- Update @astrojs/sitemap 3.1.1 β†’ 3.2.1 to fix destinationDir absolute path error - Rename RSS handler `get` β†’ `GET` for Astro 4.x compatibility - Switch CI from yarn to bun Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 510ff05 commit b2cb41f

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

β€Ž.github/workflows/astro.ymlβ€Ž

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@ jobs:
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323

24-
- run: yarn --frozen-lockfile
25-
- run: yarn build
24+
- name: Install bun
25+
uses: oven-sh/setup-bun@v2
26+
27+
- run: bun install --frozen-lockfile
28+
- run: bun run build

β€Žbun.lockbβ€Ž

227 KB
Binary file not shown.

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@astrojs/mdx": "2.2.0",
1414
"@astrojs/react": "^4.4.2",
1515
"@astrojs/rss": "4.0.5",
16-
"@astrojs/sitemap": "3.1.1",
16+
"@astrojs/sitemap": "3.2.1",
1717
"@types/react": "^18.0.21",
1818
"@types/react-dom": "^18.0.6",
1919
"astro": "4.5.5",

β€Žsrc/pages/rss.xml.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import rss from "@astrojs/rss";
22
import { getCollection } from "astro:content";
33
import { SITE_DESCRIPTION } from "../consts";
44

5-
export async function get(context) {
5+
export async function GET(context) {
66
const posts = await getCollection("blog");
77
return rss({
88
title: "πŸ‹ Igor Vieira",

0 commit comments

Comments
Β (0)