From d7008ffb27cb2033a4617d11eeb7fa54d962617c Mon Sep 17 00:00:00 2001 From: Aman Date: Wed, 8 Jul 2026 19:49:01 +0000 Subject: [PATCH] Add Gitea Actions sanity-check workflow --- .gitea/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..21707c0 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,31 @@ +name: Static App CI + +on: + push: + pull_request: + +jobs: + sanity-checks: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "20" + + - name: Required files + run: | + test -f index.html + test -f style.css + test -f README.md + test -f js/app.js + test -f js/engine.js + test -f js/renderer.js + test -f js/patterns.js + test -f js/utils.js + + - name: JavaScript syntax check + run: node --check js/*.js