diff --git a/.bun-version b/.bun-version new file mode 100644 index 00000000..1c99cf0e --- /dev/null +++ b/.bun-version @@ -0,0 +1 @@ +1.4.4 diff --git a/.github/workflows/visual.yml b/.github/workflows/visual.yml index 9d127597..891ab681 100644 --- a/.github/workflows/visual.yml +++ b/.github/workflows/visual.yml @@ -18,19 +18,23 @@ jobs: uses: actions/setup-node@v7 with: node-version-file: .nvmrc - cache: npm + + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version-file: .bun-version - name: Install dependencies - run: npm ci + run: bun install --frozen-lockfile - name: Install Playwright Chromium - run: npx playwright install --with-deps chromium + run: bunx playwright install --with-deps chromium - name: Build site - run: npm run build + run: bun run build - name: Run visual snapshot tests - run: npm run test:visual + run: bun run test:visual - name: Upload failure artifacts if: failure() diff --git a/AGENTS.md b/AGENTS.md index 5fa0900c..3edc154f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,12 +2,12 @@ ## Cursor Cloud specific instructions -This repo is a single static **Astro** blog (`austinabbott.dev`, package name `dev-blog`), deployed to Cloudflare Pages. There is no backend, database, or other service — the only "service" is the Astro dev/build process. Commands are the npm scripts in `package.json` (`dev`/`start`, `build`, `preview`, `astro`). +This repo is a single static **Astro** blog (`austinabbott.dev`, package name `dev-blog`), deployed to Cloudflare Pages. There is no backend, database, or other service — the only "service" is the Astro dev/build process. Bun is the package manager and script runner (`bun install`, `bun run