From 47cdd0ac70f25b617eb5159c64a34329c9fcaf7e Mon Sep 17 00:00:00 2001 From: sepehr-safari Date: Mon, 13 Jul 2026 16:07:02 +0300 Subject: [PATCH] ci: build the site on every PR and push to main Adds a GitHub Actions workflow (npm ci + next build on Node 22) so main is gated by a green build. Branch protection to require it follows. --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0b6eb16 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: + pull_request: + push: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + - run: npm ci + - run: npm run build