name: Test Runner

on:
  workflow_dispatch:

jobs:
  test:
    runs-on: local-ubuntu-latest
    timeout-minutes: 5

    steps:
      - name: Echo test
        run: |
          echo "Runner is working!"
          echo "Hostname: $(hostname)"
          echo "User: $(whoami)"
          echo "PWD: $(pwd)"
          echo "Node version: $(node --version)"
          echo "NPM version: $(npm --version)"

      - name: List runner labels
        run: |
          echo "This job ran on a runner with labels: self-hosted, local-ubuntu-latest"
