From 8bb0667b188f24592a76bc1eabf205a1cd660281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Groothuis?= Date: Fri, 31 Oct 2025 16:07:19 +0100 Subject: [PATCH] chore(config): Added base layout definitions --- .gitea/workflows/ci.yaml | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..d2d3d49 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,42 @@ +--- +on: + push: + branches: + - main + +permissions: + contents: read + packages: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v5 + + - name: Setup Node + uses: actions/setuo-node@v4 + with: + node-version: '22' + check-latest: true + + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + + - name: Install dependencies + run: npm ci + + - name: Run checks + run: npm run check + + - name: Run tests + run: npm test + + - name: Ensure build and bundle info + run: npx quartz build --bundleInfo