From 3b318038a677726aa25ce217073a6f4a0236f788 Mon Sep 17 00:00:00 2001 From: squid Date: Thu, 5 Nov 2026 20:25:36 +0100 Subject: [PATCH] Prepared CI-integration --- .gitea/workflows/website-ci.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/website-ci.yml diff --git a/.gitea/workflows/website-ci.yml b/.gitea/workflows/website-ci.yml new file mode 100644 index 0000000..cd4bab2 --- /dev/null +++ b/.gitea/workflows/website-ci.yml @@ -0,0 +1,34 @@ +name: Moorly Website CI + +on: + push: + branches: + - dev + workflow_dispatch: + +jobs: + build: + runs-on: linux-x64 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Check Node version + run: | + node --version + npm --version + test "$(node -p 'process.versions.node.split(".")[0]')" = "24" + + - name: Install dependencies + run: npm ci + + - name: Check + run: npm run check + + - name: Build + run: npm run build + + - name: Security audit + run: npm audit +