From 514eac93eb0378febccb19776bde485057df87e1 Mon Sep 17 00:00:00 2001 From: fretuks Date: Fri, 20 Nov 2026 00:57:55 +0100 Subject: [PATCH] Add interactive component catalog and browser regression tests --- .gitea/workflows/ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..8e21bfc --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,37 @@ +name: CI + +on: + push: + pull_request: + +permissions: + contents: read + +jobs: + verify: + name: Test and package + runs-on: ubuntu-latest + timeout-minutes: 20 + container: + image: mcr.microsoft.com/playwright:v1.65.1-noble + env: + CI: true + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: npm ci + + - name: Run structure, browser, and accessibility tests + run: npm run test:all + + - name: Build distribution files + run: npm run build + + - name: Check bundle size + run: npm run size + + - name: Verify package contents + run: npm pack --dry-run