diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml new file mode 100644 index 00000000..f2b654bb --- /dev/null +++ b/.github/workflows/pr-verify.yml @@ -0,0 +1,28 @@ +name: PR Verify + +# Required status check on `main` (Settings -> Branches). Mirrors the GitLab +# CI `verify` stage (.gitlab-ci.yml) so both remotes gate merges the same +# way: typecheck, lint, translations, and a real production build — no +# registry, no cluster, nothing that can be blocked by infra that's down. +on: + pull_request: + branches: + - main + - dev + +jobs: + verify: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 24 + cache: npm + - run: npm ci + - run: npm run typecheck + - run: npm run lint + - run: npm run test:translations + - run: npm run build + env: + GIT_COMMIT: ${{ github.sha }}