test: add github check integration

This commit is contained in:
Frostebite
2025-08-03 20:03:16 +01:00
parent d6dc078d5a
commit 53e2b89833
3 changed files with 64 additions and 11 deletions

View File

@@ -0,0 +1,24 @@
name: GitHub Checks Integration
on:
workflow_dispatch:
permissions:
contents: read
checks: write
jobs:
integration:
runs-on: ubuntu-latest
env:
RUN_GITHUB_INTEGRATION_TESTS: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test cloud-runner-github-checks.integration --detectOpenHandles --forceExit --runInBand
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}