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 +