ci: build + anchors + inline-js guard
Some checks failed
CI / build-and-anchors (push) Failing after 5m4s

This commit is contained in:
2026-01-20 14:19:11 +01:00
parent 04d6db10af
commit 84c295d4ce
3 changed files with 106 additions and 0 deletions

35
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,35 @@
name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["master"]
jobs:
build-and-anchors:
runs-on: ubuntu-latest
container:
image: node:20-bookworm-slim
steps:
- name: Install git (needed by checkout)
run: |
apt-get update
apt-get install -y --no-install-recommends git ca-certificates
git --version
- name: Checkout
uses: actions/checkout@v4
- name: Install deps
run: npm ci
- name: Inline scripts syntax check
run: node scripts/check-inline-js.mjs
- name: Build
run: npm run build
- name: Anchors contract
run: npm run test:anchors