Skip to content

Repository files navigation

MathewSachin.GitHub.io

Personal website and blog built with Astro.

Contributor Notes

  • Prefer .mdx for all new blog posts. Use filenames like YYYY-MM-DD-slug.mdx.
  • For local validation and Copilot work, build with NODE_ENV=development npm run build so the build matches the repo's testing configuration.
  • Run validation in this order from the repo root:
    1. NODE_ENV=development npm run build
    2. npm test
    3. npm run check
    4. npm run test:e2e when browser-facing changes are involved

Local Development

Prerequisites

Setup

  1. Clone the repository:

    git clone https://github.com/MathewSachin/MathewSachin.GitHub.io.git
    cd MathewSachin.GitHub.io
  2. Install dependencies (Mac):

    npm ci

Run Locally

Start the Astro development server:

npm run dev

The site will be available at http://localhost:4321 by default.

Build

Create a local/testing build (matches Copilot and CI test builds):

NODE_ENV=development npm run build

Preview the production build locally:

npm run preview

Deployment

Deployment is automated with GitHub Actions and publishes the generated site to GitHub Pages.

Releases

Sponsor this project

Packages

Used by

Contributors

Languages