From b4b38d1d97b62863dbd2cbfaace31651e2f3b81f Mon Sep 17 00:00:00 2001 From: kimi-reviewer-andresmgsl Date: Sun, 26 Jul 2026 21:39:57 +0000 Subject: [PATCH] Add CI workflow for PRs and main pushes --- .forgejo/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..ba07186 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,25 @@ +# CI: run the test suite on every pull request and on pushes to main, so +# regressions are caught before they reach a release tag. +# +# Requirements: +# - A Forgejo Actions runner on the instance. Adjust `runs-on` to a label +# your runner actually advertises (common: docker, ubuntu-latest). + +name: ci +on: + push: + branches: + - main + pull_request: + +jobs: + test: + runs-on: docker + container: + image: node:22-bookworm + steps: + - name: Check out commit + uses: actions/checkout@v4 + + - name: Run tests + run: npm ci && npm test