From 8400180d188fedb2ee1f587d2013ffe3cee68538 Mon Sep 17 00:00:00 2001 From: nholtware Date: Thu, 5 Nov 2026 12:22:15 -0600 Subject: [PATCH] ci: add GitHub Actions PR workflow (compatibility proof) Co-Authored-By: Claude Opus 5.5 --- .github/workflows/pr.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..fbcd83f --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,23 @@ +# GitHub-compatibility proof (Plan 10): the same npm scripts the Forgejo +# composite actions run, using only stock GitHub actions. Forgejo ignores +# .github/ because .forgejo/workflows/ exists. +name: pr + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + checks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: .nvmrc + cache: npm + - run: npm ci + - run: npm run lint + - run: npm run format:check + - run: npm test + - run: npm run build